Assert.isAssignable() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
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
IllegalArgumentException if the classes are not assignable
at org.springframework.util.Assert.isAssignable
IllegalArgumentException if the classes are not assignable

Matching stack traces (8)

  1. 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
  2. elcadrovia Stack Overflow1 year ago
    class myPackage.SqlTimestampPropertyEditor is not assignable to interface java.beans.PropertyEditor
  3. Unknown authorvia qnundrum.com2 years ago
    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
  4. Cannot instantiate 'IntegrationConfigurationInitializer': org.springframework.integration.http.config.HttpIntegrationConfigurationInitializer
  5. VinniKvia Stack Overflow2 years ago
    Cannot instantiate interface org.springframework.boot.SpringApplicationRunListener : org.springframework.boot.context.event.EventPublishingRunListener
  6. class javax.faces.component.html.HtmlOutcomeTargetButton is not assignable to interface org.springframework.web.WebApplicationInitializer
  7. 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

See Also

Parent

17 web pages  - Assert.isAssignable() has thrown an IllegalArgumentException
java.lang.IllegalArgumentException
    at org.springframework.util.Assert.isAssignable()

Children

Typical exception messages

  1. 2 crashes - class myPackage.SqlTimestampPropertyEditor is not assignable to interface java.beans.PropertyEditor
  2. 2 crashes - class org.springframework.transaction.annotation.TransactionManagementConfigurationSelector is not assignable to interface org.springframework.context.annotation.ImportSelector
  3. 1 crashes - class com.silverglobe.nextstorm.environment.initializer.EnvironmentContextInitializer is not assignable to interface org.springframework.context.ApplicationContextInitializer
  4. 1 crashes - class javax.faces.component.html.HtmlOutcomeTargetButton is not assignable to interface org.springframework.web.WebApplicationInitializer
  5. 1 crashes - class org.springframework.boot.context.event.EventPublishingRunListener is not assignable to interface org.springframework.boot.SpringApplicationRunListener
  6. 1 crashes - class org.springframework.boot.context.event.EventPublishingRunListener is not assignable to interface org.springframework.boot.SpringApplicationRunListener
  7. 1 crashes - class org.springframework.integration.http.config.HttpIntegrationConfigurationInitializer is not assignable to interface org.springframework.integration.config.IntegrationConfigurationInitializer
  8. 1 crashes - class org.springframework.boot.context.ConfigurationWarningsApplicationContextInitializer is not assignable to interface org.springframework.context.ApplicationContextInitializer
  9. 1 crashes - class is not assignable to interface org.springframework.context.ApplicationContextInitializer
  10. 1 crashes - class org.mybatis.spring.annotation.MapperScannerRegistrar is not assignable to interface org.springframework.context.annotation.ImportBeanDefinitionRegistrar