java.lang.ClassNotFoundException: com.sun.xml.bind.v2.ContextFactory]

Icesoft | thewolf | 8 years ago
  1. 0

    Re:Problem with facelets-enh 1.7.1 release showcase: NullPointerException

    Icesoft | 8 years ago | thewolf
    java.lang.ClassNotFoundException: com.sun.xml.bind.v2.ContextFactory]
  2. 0

    OpenXML Problems with Tomcat and docx4j : Tomcat Java forum

    docx4java.org | 1 month ago
    java.lang.ClassNotFoundException: org.eclipse.persistence.jaxb.JAXBContextFactory][/b]
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Jersey - Is there a way to set what classloader JAXBContext uses when using Jersey?

    nabble.com | 9 months ago
    java.lang.ClassNotFoundException: com.sun.xml.bind.v2.ContextFactory
  5. 0

    java.lang.ClassNotFoundException: org.springframework.dao.DuplicateKeyException

    Stack Overflow | 2 years ago | Xiao Run
    java.lang.ClassNotFoundException: org.springframework.dao.DuplicateKeyException

  1. treefolk 1 times, last 2 weeks ago
  2. Tahir 2 times, last 2 months ago
  3. Piz 2027 times, last 4 months ago
  4. jedcua 1 times, last 4 months ago
  5. esaar 3 times, last 4 months ago
5 more registered users
90 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.ClassNotFoundException

    com.sun.xml.bind.v2.ContextFactory

    at org.apache.catalina.loader.WebappClassLoader.loadClass()
  2. Glassfish Core
    WebappClassLoader.loadClass
    1. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)
    2. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
    2 frames
  3. Java RT
    JAXBContext.newInstance
    1. javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:117)
    2. javax.xml.bind.ContextFinder.find(ContextFinder.java:299)
    3. javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:372)
    4. javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:337)
    5. javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:244)
    5 frames
  4. org.icefaces.application
    ApplicationBuilder.<init>
    1. org.icefaces.application.showcase.view.builder.ApplicationBuilder.loadMetaData(ApplicationBuilder.java:113)
    2. org.icefaces.application.showcase.view.builder.ApplicationBuilder.<init>(ApplicationBuilder.java:98)
    2 frames
  5. Java RT
    Class.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    5. java.lang.Class.newInstance0(Class.java:355)
    6. java.lang.Class.newInstance(Class.java:308)
    6 frames
  6. JSF
    ManagedBeanELResolver.getValue
    1. com.sun.faces.config.ManagedBeanFactoryImpl.newInstance(ManagedBeanFactoryImpl.java:277)
    2. com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:511)
    3. com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:82)
    3 frames
  7. EL
    CompositeELResolver.getValue
    1. javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
    1 frame
  8. JSF
    FacesCompositeELResolver.getValue
    1. com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
    1 frame
  9. Pax Jsp
    ValueExpressionImpl.getValue
    1. org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:45)
    2. org.apache.el.parser.AstValue.getValue(AstValue.java:86)
    3. org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
    3 frames
  10. JSF
    ManagedBeanELResolver.getValue
    1. com.sun.faces.config.ManagedBeanFactoryImpl.evaluateValueExpressionGet(ManagedBeanFactoryImpl.java:1003)
    2. com.sun.faces.config.ManagedBeanFactoryImpl.setPropertiesIntoBean(ManagedBeanFactoryImpl.java:636)
    3. com.sun.faces.config.ManagedBeanFactoryImpl.newInstance(ManagedBeanFactoryImpl.java:317)
    4. com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:531)
    5. com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:82)
    5 frames
  11. EL
    CompositeELResolver.getValue
    1. javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
    1 frame
  12. JSF
    FacesCompositeELResolver.getValue
    1. com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
    1 frame
  13. Pax Jsp
    ValueExpressionImpl.getValue
    1. org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:45)
    2. org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
    2 frames
  14. JSF
    ValueBindingValueExpressionAdapter.getValue
    1. com.sun.faces.application.ValueBindingValueExpressionAdapter.getValue(ValueBindingValueExpressionAdapter.java:102)
    1 frame
  15. org.icefaces.application
    ApplicationController.getCurrentContextDescriptor
    1. org.icefaces.application.showcase.util.FacesUtils.getManagedBean(FacesUtils.java:77)
    2. org.icefaces.application.showcase.view.bean.ApplicationController.getCurrentContextDescriptor(ApplicationController.java:320)
    2 frames
  16. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  17. EL
    CompositeELResolver.getValue
    1. javax.el.BeanELResolver.getValue(BeanELResolver.java:62)
    2. javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
    2 frames
  18. JSF
    FacesCompositeELResolver.getValue
    1. com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
    1 frame
  19. Pax Jsp
    ValueExpressionImpl.getValue
    1. org.apache.el.parser.AstValue.getValue(AstValue.java:97)
    2. org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
    2 frames
  20. Facelets
    TagValueExpression.getValue
    1. com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
    1 frame
  21. Pax Jsp
    ValueExpressionImpl.getValue
    1. org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:41)
    2. org.apache.el.parser.AstValue.getValue(AstValue.java:86)
    3. org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
    3 frames
  22. Facelets
    DefaultFacelet.apply
    1. com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
    2. com.sun.facelets.tag.TagAttribute.getObject(TagAttribute.java:233)
    3. com.sun.facelets.tag.TagAttribute.getValue(TagAttribute.java:200)
    4. com.sun.facelets.tag.ui.DecorateHandler.apply(DecorateHandler.java:105)
    5. com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
    6. com.sun.facelets.tag.ui.DefineHandler.applyDefinition(DefineHandler.java:64)
    7. com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:131)
    8. com.sun.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:310)
    9. com.sun.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:280)
    10. com.sun.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:68)
    11. com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
    12. com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
    13. com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
    14. com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
    15. com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
    16. com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
    17. com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
    18. com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
    19. com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
    20. com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
    21. com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
    22. com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
    23. com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
    24. com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
    25. com.sun.facelets.tag.jsf.core.ViewHandler.apply(ViewHandler.java:109)
    26. com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
    27. com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
    28. com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
    29. com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
    30. com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
    31. com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:144)
    32. com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:113)
    33. com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
    34. com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
    35. com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95)
    35 frames
  23. com.icesoft.faces
    D2DViewHandler.renderView
    1. com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:274)
    2. com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:161)
    2 frames
  24. JSF
    LifecycleImpl.render
    1. com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
    2. com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
    3. com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
    3 frames
  25. com.icesoft.faces
    MainServlet.service
    1. com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:18)
    2. com.icesoft.faces.webapp.http.core.PageServer$1.respond(PageServer.java:25)
    3. com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.respondWith(ServletRequestResponse.java:161)
    4. com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet$ThreadBlockingRequestResponse.respondWith(ThreadBlockingAdaptingServlet.java:36)
    5. com.icesoft.faces.webapp.http.core.PageServer.service(PageServer.java:30)
    6. com.icesoft.faces.webapp.http.core.MultiViewServer.service(MultiViewServer.java:56)
    7. com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer$Matcher.serviceOnMatch(PathDispatcherServer.java:50)
    8. com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:19)
    9. com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19)
    10. com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:63)
    11. com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:139)
    12. com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:53)
    13. com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52)
    14. com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29)
    15. com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:82)
    15 frames
  26. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    1 frame
  27. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
    8 frames
  28. Grizzly HTTP
    AprEndpoint$Worker.run
    1. org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:852)
    2. org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:584)
    3. org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1508)
    3 frames
  29. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:619)
    1 frame