クラス 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.context.MissingWebServerFactoryBeanException
- 実装されたすべてのインターフェース:
SerializableSE
WebServerApplicationContext
で定義された必要な型の WebServerFactory
Bean がない場合にスローされる例外。- 導入:
- 2.7.0
- 作成者:
- Guirong Hu, Andy Wilkinson
- 関連事項:
コンストラクターのサマリー
コンストラクターコンストラクター説明MissingWebServerFactoryBeanException
(ClassSE<? extends WebServerApplicationContext> webServerApplicationContextClass, ClassSE<? extends WebServerFactory> webServerFactoryClass, WebApplicationType webApplicationType) 新しいMissingWebServerFactoryBeanException
を作成します。メソッドのサマリー
クラス org.springframework.beans.factory.NoSuchBeanDefinitionException から継承されたメソッド
getBeanName, getBeanType, getNumberOfBeansFound, getResolvableType
クラス org.springframework.core.NestedRuntimeException から継承されたメソッド
contains, getMostSpecificCause, getRootCause
クラス java.lang.ThrowableSE から継承されたメソッド
addSuppressedSE, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCauseSE, printStackTrace, printStackTraceSE, printStackTraceSE, setStackTraceSE, toString
コンストラクターの詳細
MissingWebServerFactoryBeanException
public MissingWebServerFactoryBeanException(ClassSE<? extends WebServerApplicationContext> webServerApplicationContextClass, ClassSE<? extends WebServerFactory> webServerFactoryClass, WebApplicationType webApplicationType) 新しいMissingWebServerFactoryBeanException
を作成します。- パラメーター:
webServerApplicationContextClass
- WebServerFactory を必要とした WebServerApplicationContext のクラスwebServerFactoryClass
- 欠落していた WebServerFactory のクラスwebApplicationType
- Web アプリケーションの型
メソッドの詳細
getWebApplicationType
WebServerFactory
Bean が欠落していた Web アプリケーションの型を返します。- 戻り値:
- Web アプリケーションの型