org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [C:\REngasamy\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\Spring3MVC\WEB-INF\classes\net\viralpatel\spring3\controller\HelloWorldController.class]; nested exception is java.lang.IllegalArgumentException

coderanch.com | 2 months ago
  1. 0

    Context initialization failed org.springframework.beans.factory.BeanDefinitionStoreException (Spring forum at JavaRanch)

    coderanch.com | 11 months ago
    org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [C:\REngasamy\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\Spring3MVC\WEB-INF\classes\net\viralpatel\spring3\controller\HelloWorldController.class]; nested exception is java.lang.IllegalArgumentException
  2. 0

    Context initialization failed org.springframework.beans.factory.BeanDefinitionStoreException (Spring forum at JavaRanch)

    coderanch.com | 1 year ago
    org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [C:\REngasamy\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\Spring3MVC\WEB-INF\classes\net\viralpatel\spring3\controller\HelloWorldController.class]; nested exception is java.lang.IllegalArgumentException
  3. 0

    Context initialization failed org.springframework.beans.factory.BeanDefinitionStoreException (Spring forum at Coderanch)

    coderanch.com | 3 months ago
    org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [C:\REngasamy\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\Spring3MVC\WEB-INF\classes\net\viralpatel\spring3\controller\HelloWorldController.class]; nested exception is java.lang.IllegalArgumentException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Context initialization failed org.springframework.beans.factory.BeanDefinitionStoreException (Spring forum at Coderanch)

    coderanch.com | 2 months ago
    org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [C:\REngasamy\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\Spring3MVC\WEB-INF\classes\net\viralpatel\spring3\controller\HelloWorldController.class]; nested exception is java.lang.IllegalArgumentException
  6. 0

    spring-mvc - Hello Word Spring MVC

    com.br | 1 year ago
    org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [C:\Users\Rafael\Desktop\apache-tomcat-6.0.44\wtpwebapps\fj21-tarefas\WEB-INF\classes\br\com\caelum\tarefas\ConnectionFactory.class]; nested exception is java.lang.IllegalArgumentException

    12 unregistered visitors
    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.IllegalArgumentException

      No message provided

      at org.springframework.asm.ClassReader.<init>()
    2. Spring Core
      CachingMetadataReaderFactory.getMetadataReader
      1. org.springframework.asm.ClassReader.<init>(Unknown Source)
      2. org.springframework.asm.ClassReader.<init>(Unknown Source)
      3. org.springframework.asm.ClassReader.<init>(Unknown Source)
      4. org.springframework.core.type.classreading.SimpleMetadataReader.<init>(SimpleMetadataReader.java:52)
      5. org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:80)
      6. org.springframework.core.type.classreading.CachingMetadataReaderFactory.getMetadataReader(CachingMetadataReaderFactory.java:102)
      6 frames
    3. Spring Context
      ComponentScanBeanDefinitionParser.parse
      1. org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:257)
      2. org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:242)
      3. org.springframework.context.annotation.ComponentScanBeanDefinitionParser.parse(ComponentScanBeanDefinitionParser.java:84)
      3 frames
    4. Spring Beans
      AbstractBeanDefinitionReader.loadBeanDefinitions
      1. org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:73)
      2. org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1438)
      3. org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1428)
      4. org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:184)
      5. org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:140)
      6. org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:111)
      7. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493)
      8. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390)
      9. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
      10. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
      11. org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174)
      12. org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209)
      13. org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)
      13 frames
    5. Spring
      XmlWebApplicationContext.loadBeanDefinitions
      1. org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125)
      2. org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94)
      2 frames
    6. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
      2. org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:537)
      3. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:451)
      3 frames
    7. Spring MVC
      HttpServletBean.init
      1. org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:652)
      2. org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:600)
      3. org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:666)
      4. org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:519)
      5. org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:460)
      6. org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136)
      6 frames
    8. JavaServlet
      GenericServlet.init
      1. javax.servlet.GenericServlet.init(GenericServlet.java:158)
      1 frame
    9. Glassfish Core
      ContainerBase$StartChild.call
      1. org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1241)
      2. org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1154)
      3. org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1041)
      4. org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4944)
      5. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5230)
      6. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      7. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
      8. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1399)
      8 frames
    10. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(Unknown Source)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      4. java.lang.Thread.run(Unknown Source)
      4 frames