クラス MissingWebServerFactoryBeanException
java.lang.ObjectSE
java.lang.ThrowableSE
java.lang.ExceptionSE
java.lang.RuntimeExceptionSE
org.springframework.core.NestedRuntimeException
org.springframework.beans.BeansException
org.springframework.beans.factory.NoSuchBeanDefinitionException
org.springframework.boot.web.server.context.MissingWebServerFactoryBeanException
- 実装済みのインターフェース一覧:
SerializableSE
WebServerApplicationContext で定義された必要な型の WebServerFactory Bean がない場合にスローされる例外。- 導入:
- 4.0.0
- 作成者:
- Guirong Hu, Andy Wilkinson
- 関連事項:
コンストラクター概要
コンストラクターコンストラクター説明MissingWebServerFactoryBeanException(ClassSE<? extends WebServerApplicationContext> webServerApplicationContextClass, ClassSE<? extends WebServerFactory> webServerFactoryClass, WebApplicationType webApplicationType) 新しいMissingWebServerFactoryBeanExceptionを作成します。方法の概要
クラス NoSuchBeanDefinitionException から継承されたメソッド
getBeanName, getBeanType, getNumberOfBeansFound, getResolvableTypeクラス NestedRuntimeException から継承されたメソッド
contains, getMostSpecificCause, getRootCause
コンストラクターの詳細
MissingWebServerFactoryBeanException
public MissingWebServerFactoryBeanException(ClassSE<? extends WebServerApplicationContext> webServerApplicationContextClass, ClassSE<? extends WebServerFactory> webServerFactoryClass, WebApplicationType webApplicationType) 新しいMissingWebServerFactoryBeanExceptionを作成します。- パラメーター:
webServerApplicationContextClass- WebServerFactory を必要とした WebServerApplicationContext のクラスwebServerFactoryClass- 欠落していた WebServerFactory のクラスwebApplicationType- Web アプリケーションの型
方法の詳細
getWebApplicationType
WebServerFactoryBean が欠落していた Web アプリケーションの型を返します。- 戻り値:
- Web アプリケーションの型