java.lang.NoClassDefFoundError: javax/xml/stream/util/XMLEventAllocator

netbeans.org | 4 months ago
  1. 0

    Bug 179003 – ClassCastException: com.ctc.wstx.stax.WstxInputFactory cannot be cast to javax.xml.stream.XMLInputFactory

    netbeans.org | 5 months ago
    java.lang.NoClassDefFoundError: javax/xml/stream/util/XMLEventAllocator
  2. 0

    Bug 179003 – ClassCastException: com.ctc.wstx.stax.WstxInputFactory cannot be cast to javax.xml.stream.XMLInputFactory

    netbeans.org | 4 months ago
    java.lang.NoClassDefFoundError: javax/xml/stream/util/XMLEventAllocator
  3. 0

    [AMQ-5167] ActiveMQ web-console fails to start in Karaf - missing import - ASF JIRA

    apache.org | 1 year ago
    java.lang.NoClassDefFoundError: javax/xml/stream/XMLStreamException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Steps to reprodouce: 1. start Karaf 2.3.5 or 3.0.1. 2. install activemq feature : feature:repo-add activemq 5.9.1 feature:install activemq-broker Stack trace: ~~~ aused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: javax/xml/stream/XMLStreamException at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1037)[145:org.apache.activemq.activemq-web-console:5.9.1] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:983)[145:org.apache.activemq.activemq-web-console:5.9.1] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487)[145:org.apache.activemq.activemq-web-console:5.9.1] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)[145:org.apache.activemq.activemq-web-console:5.9.1] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:289)[145:org.apache.activemq.activemq-web-console:5.9.1] at org.springframework.web.servlet.DispatcherServlet.createDefaultStrategy(DispatcherServlet.java:810)[145:org.apache.activemq.activemq-web-console:5.9.1] at org.springframework.web.servlet.DispatcherServlet.getDefaultStrategies(DispatcherServlet.java:779)[145:org.apache.activemq.activemq-web-console:5.9.1] at org.springframework.web.servlet.DispatcherServlet.initHandlerAdapters(DispatcherServlet.java:587)[145:org.apache.activemq.activemq-web-console:5.9.1] at org.springframework.web.servlet.DispatcherServlet.initStrategies(DispatcherServlet.java:444)[145:org.apache.activemq.activemq-web-console:5.9.1] at org.springframework.web.servlet.DispatcherServlet.onRefresh(DispatcherServlet.java:432)[145:org.apache.activemq.activemq-web-console:5.9.1] at org.springframework.web.servlet.FrameworkServlet.onApplicationEvent(FrameworkServlet.java:772)[145:org.apache.activemq.activemq-web-console:5.9.1] at org.springframework.web.servlet.FrameworkServlet$ContextRefreshListener.onApplicationEvent(FrameworkServlet.java:1083)[145:org.apache.activemq.activemq-web-console:5.9.1] at org.springframework.web.servlet.FrameworkServlet$ContextRefreshListener.onApplicationEvent(FrameworkServlet.java:1080)[145:org.apache.activemq.activemq-web-console:5.9.1] at org.springframework.context.event.GenericApplicationListenerAdapter.onApplicationEvent(GenericApplicationListenerAdapter.java:51)[145:org.apache.activemq.activemq-web-console:5.9.1] at org.springframework.context.event.SourceFilteringListener.onApplicationEventInternal(SourceFilteringListener.java:96)[145:org.apache.activemq.activemq-web-console:5.9.1] at org.springframework.context.event.SourceFilteringListener.onApplicationEvent(SourceFilteringListener.java:68)[145:org.apache.activemq.activemq-web-console:5.9.1] at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:96)[145:org.apache.activemq.activemq-web-console:5.9.1] at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:334)[145:org.apache.activemq.activemq-web-console:5.9.1] at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:948)[145:org.apache.activemq.activemq-web-console:5.9.1] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)[145:org.apache.activemq.activemq-web-console:5.9.1] at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:651)[145:org.apache.activemq.activemq-web-console:5.9.1] at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:599)[145:org.apache.activemq.activemq-web-console:5.9.1] at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:665)[145:org.apache.activemq.activemq-web-console:5.9.1] at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:518)[145:org.apache.activemq.activemq-web-console:5.9.1] at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:459)[145:org.apache.activemq.activemq-web-console:5.9.1] at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136)[145:org.apache.activemq.activemq-web-console:5.9.1] at javax.servlet.GenericServlet.init(GenericServlet.java:161)[80:org.apache.geronimo.specs.geronimo-servlet_3.0_spec:1.0] at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:532)[85:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031] ... 33 more Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: javax/xml/stream/XMLStreamException at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163)[145:org.apache.activemq.activemq-web-console:5.9.1] at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)[145:org.apache.activemq.activemq-web-console:5.9.1] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1030)[145:org.apache.activemq.activemq-web-console:5.9.1] ... 60 more Caused by: java.lang.NoClassDefFoundError: javax/xml/stream/XMLStreamException at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.<init>(AnnotationMethodHandlerAdapter.java:203)[145:org.apache.activemq.activemq-web-console:5.9.1] ~~~

    Apache's JIRA Issue Tracker | 3 years ago | Ioan Eugen Stan
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: javax/xml/stream/XMLStreamException
  6. 0

    Exception in thread "main" org.apache.poi.POIXMLException: java.lang.reflect.InvocationTargetExcepti

    Coderanch | 5 years ago | bhaskar bolo
    org.apache.poi.POIXMLException: java.lang.reflect.InvocationTargetException

    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.NoClassDefFoundError

      javax/xml/stream/util/XMLEventAllocator

      at com.sun.xml.stream.ZephyrParserFactory.createXMLEventReader()
    2. Sun Java Streaming XML Parser
      ZephyrParserFactory.createXMLEventReader
      1. com.sun.xml.stream.ZephyrParserFactory.createXMLEventReader(ZephyrParserFactory.java:92)
      1 frame