org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageSource' defined in class path resource [META-INF/spring-web.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/aspectj/weaver/reflect/ReflectionWorld$ReflectionWorldException

Stack Overflow | Henry Chinasky | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    JBOSS EAP6.2 says java.lang.ClassNotFoundException but there is that class into lib folder

    Stack Overflow | 7 months ago | Henry Chinasky
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageSource' defined in class path resource [META-INF/spring-web.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/aspectj/weaver/reflect/ReflectionWorld$ReflectionWorldException
  2. 0

    java.lang.ClassNotFoundException: org.jboss.security.negotiation.NegotiationAuthenticator

    Stack Overflow | 2 years ago | user613114
    java.lang.ClassNotFoundException: org.jboss.security.negotiation.NegotiationAuthenticator from [Module "deployment.dummy.ear.dummy-web.war:main" from Service Module Loader]
  3. 0

    java.lang.ClassNotFoundException: org.aopalliance.intercept.MethodInterceptor

    Stack Overflow | 2 years ago | user129260
    java.lang.LinkageError: Failed to link org/springframework/transaction/interceptor/TransactionInterceptor (Module "deployment.test.war:main" from Service Module Loader)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Problems connecting to h2 database in wildfly

    Stack Overflow | 2 years ago | SolKool
    java.lang.ClassNotFoundException: org.h2.Driver from [Module "deployment.Tarea3.war:main" from Service Module Loader]
  6. 0

    OSGI NoClassDefFoundError on dependency between bundles

    Stack Overflow | 3 years ago | pipo_dev
    java.lang.ClassNotFoundException: ejb.services.Echo from [Module "deployment.osgi-web.war:main" from Service Module Loader]
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    org.aspectj.weaver.reflect.ReflectionWorld$ReflectionWorldException from [Module "com.foo.abc:main" from local module loader @9f14c3 (finder: local module finder @c282b (roots: C:\Program Files\EAP-6.2.0\jboss-eap-6.2\modules,C:\Program Files\EAP-6.2.0\jboss-eap-6.2\modules\system\layers\base))]

    at org.jboss.modules.ModuleClassLoader.findClass()
  2. JBoss Modules
    ConcurrentClassLoader.loadClass
    1. org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:197)[jboss-modules.jar:1.3.0.Final-redhat-2]
    2. org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:443)[jboss-modules.jar:1.3.0.Final-redhat-2]
    3. org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:431)[jboss-modules.jar:1.3.0.Final-redhat-2]
    4. org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:373)[jboss-modules.jar:1.3.0.Final-redhat-2]
    5. org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:118)[jboss-modules.jar:1.3.0.Final-redhat-2]
    5 frames
  3. Spring AOP
    AbstractAutoProxyCreator.postProcessBeforeInstantiation
    1. org.springframework.aop.aspectj.annotation.ReflectiveAspectJAdvisorFactory.getPointcut(ReflectiveAspectJAdvisorFactory.java:192)[spring-aop-4.0.5.RELEASE.jar:4.0.5.RELEASE]
    2. org.springframework.aop.aspectj.annotation.ReflectiveAspectJAdvisorFactory.getAdvisor(ReflectiveAspectJAdvisorFactory.java:178)[spring-aop-4.0.5.RELEASE.jar:4.0.5.RELEASE]
    3. org.springframework.aop.aspectj.annotation.ReflectiveAspectJAdvisorFactory.getAdvisors(ReflectiveAspectJAdvisorFactory.java:108)[spring-aop-4.0.5.RELEASE.jar:4.0.5.RELEASE]
    4. org.springframework.aop.aspectj.annotation.BeanFactoryAspectJAdvisorsBuilder.buildAspectJAdvisors(BeanFactoryAspectJAdvisorsBuilder.java:109)[spring-aop-4.0.5.RELEASE.jar:4.0.5.RELEASE]
    5. org.springframework.aop.aspectj.annotation.AnnotationAwareAspectJAutoProxyCreator.findCandidateAdvisors(AnnotationAwareAspectJAutoProxyCreator.java:87)[spring-aop-4.0.5.RELEASE.jar:4.0.5.RELEASE]
    6. org.springframework.aop.aspectj.autoproxy.AspectJAwareAdvisorAutoProxyCreator.shouldSkip(AspectJAwareAdvisorAutoProxyCreator.java:103)[spring-aop-4.0.5.RELEASE.jar:4.0.5.RELEASE]
    7. org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessBeforeInstantiation(AbstractAutoProxyCreator.java:289)[spring-aop-4.0.5.RELEASE.jar:4.0.5.RELEASE]
    7 frames
  4. Spring Beans
    AbstractBeanFactory.getBean
    1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInstantiation(AbstractAutowireCapableBeanFactory.java:958)[spring-beans-4.0.5.RELEASE.jar:4.0.5.RELEASE]
    2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.resolveBeforeInstantiation(AbstractAutowireCapableBeanFactory.java:930)[spring-beans-4.0.5.RELEASE.jar:4.0.5.RELEASE]
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:465)[spring-beans-4.0.5.RELEASE.jar:4.0.5.RELEASE]
    4. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304)[spring-beans-4.0.5.RELEASE.jar:4.0.5.RELEASE]
    5. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)[spring-beans-4.0.5.RELEASE.jar:4.0.5.RELEASE]
    6. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300)[spring-beans-4.0.5.RELEASE.jar:4.0.5.RELEASE]
    7. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)[spring-beans-4.0.5.RELEASE.jar:4.0.5.RELEASE]
    7 frames
  5. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.initMessageSource(AbstractApplicationContext.java:628)[spring-context-4.0.5.RELEASE.jar:4.0.5.RELEASE]
    2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:470)[spring-context-4.0.5.RELEASE.jar:4.0.5.RELEASE]
    2 frames
  6. Spring MVC
    HttpServletBean.init
    1. org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:658)[spring-webmvc-4.0.5.RELEASE.jar:4.0.5.RELEASE]
    2. org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:624)[spring-webmvc-4.0.5.RELEASE.jar:4.0.5.RELEASE]
    3. org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:672)[spring-webmvc-4.0.5.RELEASE.jar:4.0.5.RELEASE]
    4. org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:543)[spring-webmvc-4.0.5.RELEASE.jar:4.0.5.RELEASE]
    5. org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:484)[spring-webmvc-4.0.5.RELEASE.jar:4.0.5.RELEASE]
    6. org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136)[spring-webmvc-4.0.5.RELEASE.jar:4.0.5.RELEASE]
    6 frames
  7. JavaServlet
    GenericServlet.init
    1. javax.servlet.GenericServlet.init(GenericServlet.java:242)[jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1]
    1 frame
  8. Glassfish Core
    StandardContext.start
    1. org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1194)[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
    2. org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1100)[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
    3. org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3591)[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
    4. org.apache.catalina.core.StandardContext.start(StandardContext.java:3798)[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
    4 frames
  9. JBoss Web
    WebDeploymentService$1.run
    1. org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:156)[jboss-as-web-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]
    2. org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60)[jboss-as-web-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]
    3. org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93)[jboss-as-web-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]
    3 frames
  10. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[rt.jar:1.7.0_75]
    2. java.util.concurrent.FutureTask.run(FutureTask.java:262)[rt.jar:1.7.0_75]
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[rt.jar:1.7.0_75]
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[rt.jar:1.7.0_75]
    5. java.lang.Thread.run(Thread.java:745)[rt.jar:1.7.0_75]
    5 frames
  11. JBoss Threads
    JBossThread.run
    1. org.jboss.threads.JBossThread.run(JBossThread.java:122)
    1 frame