org.springframework.web.SpringServletContainerInitializer: java.lang.IllegalArgumentException: Name must not be null

Stack Overflow | GreenGiant | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    "IllegalArgumentException: Name must not be null" when deploying to jboss

    Stack Overflow | 6 months ago | GreenGiant
    org.springframework.web.SpringServletContainerInitializer: java.lang.IllegalArgumentException: Name must not be null

    Root Cause Analysis

    1. org.springframework.web.SpringServletContainerInitializer

      java.lang.IllegalArgumentException: Name must not be null

      at org.springframework.util.Assert.notNull()
    2. Spring Core
      ClassUtils.resolveClassName
      1. org.springframework.util.Assert.notNull(Assert.java:115)[spring-core-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      2. org.springframework.util.ClassUtils.forName(ClassUtils.java:214)[spring-core-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      3. org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:284)[spring-core-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      3 frames
    3. Grails
      ChainedTransactionManagerPostProcessor.postProcessBeanDefinitionRegistry
      1. org.grails.transaction.ChainedTransactionManagerPostProcessor.resolveTransactionManagerClass(ChainedTransactionManagerPostProcessor.java:158)[grails-core-3.1.5.jar:3.1.5]
      2. org.grails.transaction.ChainedTransactionManagerPostProcessor.hasJtaOrChainedTransactionManager(ChainedTransactionManagerPostProcessor.java:143)[grails-core-3.1.5.jar:3.1.5]
      3. org.grails.transaction.ChainedTransactionManagerPostProcessor.postProcessBeanDefinitionRegistry(ChainedTransactionManagerPostProcessor.java:119)[grails-core-3.1.5.jar:3.1.5]
      3 frames
    4. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:123)[spring-context-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      2. org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:678)[spring-context-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      3. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:520)[spring-context-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      3 frames
    5. Spring Boot
      SpringApplication.run
      1. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)[spring-boot-1.3.3.RELEASE.jar:1.3.3.RELEASE]
      2. org.springframework.boot.SpringApplication.refresh(SpringApplication.java:766)[spring-boot-1.3.3.RELEASE.jar:1.3.3.RELEASE]
      3. org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:361)[spring-boot-1.3.3.RELEASE.jar:1.3.3.RELEASE]
      4. org.springframework.boot.SpringApplication.run(SpringApplication.java:307)[spring-boot-1.3.3.RELEASE.jar:1.3.3.RELEASE]
      4 frames
    6. Grails
      GrailsApp.run
      1. grails.boot.GrailsApp.run(GrailsApp.groovy:55)[grails-core-3.1.5.jar:3.1.5]
      1 frame