org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [D:\Development\WebDev\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\first\WEB-INF\classes\first\common\dao\AbstractDAO.class]; nested exception is org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn't supported yet: file [D:\Development\WebDev\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\first\WEB-INF\classes\first\common\dao\AbstractDAO.class]; nested exception is java.lang.IllegalArgumentException

tistory.com | 8 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

    스프링(Spring) 개발 - (9) Mybatis (마이바티스) 연동하기 :: 흔한 개발자의 개발 노트

    tistory.com | 8 months ago
    org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [D:\Development\WebDev\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\first\WEB-INF\classes\first\common\dao\AbstractDAO.class]; nested exception is org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn't supported yet: file [D:\Development\WebDev\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\first\WEB-INF\classes\first\common\dao\AbstractDAO.class]; nested exception is java.lang.IllegalArgumentException
  2. 0

    I am getting "java.lang.Exception: java.lang.IllegalStateException" when i try to run my code

    Stack Overflow | 3 years ago | user3133845
    org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [C:\Users\dell\Documents\NetBeansProjects\WebApplication1\build\web\WEB-INF\classes\com\webApp\controller\FormController.class]; nested exception is org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn't supported yet: file [C:\Users\dell\Documents\NetBeansProjects\WebApplication1\build\web\WEB-INF\classes\com\webApp\controller\FormController.class]; nested exception is java.lang.IllegalArgumentException
  3. 0

    ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn't supported - Am using Apache 7 and JDK 1.8

    Stack Overflow | 1 year ago | Sunil
    org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: URL [jar:file:/apps/tomcat/instances/tomcat01/work/Catalina/localhost/ConcurArchival_Web/WEB-INF/lib/tgt-ecl-test-1.0.0.jar!/com/tgt/ecl/framework/test/MVCTest.class]; nested exception is org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn't supported yet: URL [jar:file:/apps/tomcat/instances/tomcat01/work/Catalina/localhost/ConcurArchival_Web/WEB-INF/lib/tgt-ecl-test-1.0.0.jar!/com/tgt/ecl/framework/test/MVCTest.class]; nested exception is java.lang.IllegalArgumentException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Failed to read candidate component class - Archival.class

    Stack Overflow | 1 year ago | Sunil
    org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [C:\apache-tomcat-7.0.68\webapps\ConcurArchival_Web\WEB-INF\classes\com\tgt\concurarchival\common\ConcurArchivalConstants.class]; nested exception is org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn't supported yet: file [C:\apache-tomcat-7.0.68\webapps\ConcurArchival_Web\WEB-INF\classes\com\tgt\concurarchival\common\ArchivalConstants.class]; nested exception is java.lang.IllegalArgumentException
  6. 0

    Failed to read candidate component错误-王晓鹏个人博客-一个java程序员的个人博客

    osblog.net | 6 months ago
    org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [D:\apache-tomcat-6.0.41\webapps\jinyu\WEB-INF\classes\com\controller\IndexController.class]; nested exception is org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn't supported yet: file [D:\apache-tomcat-6.0.41\webapps\jinyu\WEB-INF\classes\com\controller\IndexController.class]; nested exception is java.lang.IllegalArgumentException

    7 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:53)
      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:266)
      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:185)
      5. org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:139)
      6. org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:108)
      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:651)
      2. org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:599)
      3. org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:665)
      4. org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:518)
      5. org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:459)
      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
      HostConfig$DeployDescriptor.run
      1. org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1231)
      2. org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1144)
      3. org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1031)
      4. org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4997)
      5. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5289)
      6. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      7. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
      8. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
      9. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
      10. org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:586)
      11. org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1777)
      11 frames
    10. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      5. java.lang.Thread.run(Thread.java:745)
      5 frames