Assert.isAssignable() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
Javadoc
Thrown to indicate that a method has been passed an illegal or inappropriate argument. @author unascribed @since JDK1.0
at org.springframework.util.Assert.isAssignable
(source)
at org.springframework.util.Assert.isAssignable
(source)

Typical Exception Messages

  1. class com.silverglobe.nextstorm.environment.initializer.EnvironmentContextInitializer is not assignable to interface org.springframework.context.ApplicationContextInitializer
  2. class myPackage.SqlTimestampPropertyEditor is not assignable to interface java.beans.PropertyEditor
  3. class javax.faces.component.html.HtmlOutcomeTargetButton is not assignable to interface org.springframework.web.WebApplicationInitializer
  4. Cannot instantiate interface org.springframework.boot.SpringApplicationRunListener : org.springframework.boot.context.event.EventPublishingRunListener
  5. Failed to process import candidates for configuration class [org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration$TransactionManagementConfiguration]; nested exception is java.lang.IllegalArgumentException: class org.springframework.transaction.annotation.TransactionManagementConfigurationSelector is not assignable to interface org.springframework.context.annotation.ImportSelector
  6. Cannot instantiate 'IntegrationConfigurationInitializer': org.springframework.integration.http.config.HttpIntegrationConfigurationInitializer
  7. Failed to load ApplicationContext
  8. class is not assignable to interface org.springframework.context.ApplicationContextInitializer
  9. Failed to process import candidates for configuration class [com.company.gb.division.app.rest.config.PersistenceConfiguration]; nested exception is java.lang.IllegalArgumentException: class org.mybatis.spring.annotation.MapperScannerRegistrar is not assignable to interface org.springframework.context.annotation.ImportBeanDefinitionRegistrar

Origin

Assert.isAssignable() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
org.springframework.util.Assert.isAssignable
13Web pages

Similar

Specific cases

External results for this pattern (7)

  1. elcadrovia Stack Overflow4 months ago
    class myPackage.SqlTimestampPropertyEditor is not assignable to interface java.beans.PropertyEditor
    Show stack trace
  2. Cannot instantiate 'IntegrationConfigurationInitializer': org.springframework.integration.http.config.HttpIntegrationConfigurationInitializer
    Show stack trace
  3. Failed to process import candidates for configuration class [com.company.gb.division.app.rest.config.PersistenceConfiguration]; nested exception is java.lang.IllegalArgumentException: class org.mybatis.spring.annotation.MapperScannerRegistrar is not assignable to interface org.springframework.context.annotation.ImportBeanDefinitionRegistrar
    Show stack trace
  4. VinniKvia Stack Overflow2 years ago
    Cannot instantiate interface org.springframework.boot.SpringApplicationRunListener : org.springframework.boot.context.event.EventPublishingRunListener
    Show stack trace
  5. class javax.faces.component.html.HtmlOutcomeTargetButton is not assignable to interface org.springframework.web.WebApplicationInitializer
    Show stack trace
  6. Failed to process import candidates for configuration class [org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration$TransactionManagementConfiguration]; nested exception is java.lang.IllegalArgumentException: class org.springframework.transaction.annotation.TransactionManagementConfigurationSelector is not assignable to interface org.springframework.context.annotation.ImportSelector
    Show stack trace