Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    This means you're missing a class that Java needs for this program. Check if you're not missing the jsr305-1.3.7.jar from your classpath, it's the jar that contains the class javax.annotation.Nullable.

  2. ,

    If JVM throws ClassNotFoundException the class is not found in classpath. It means that something is not configured correctly. So check the relevant class is in the classpath. If the class is packaged into a jar, the jar should also in the classpath.

Solutions on the web

via Icesoft by thewolf, 1 year ago
via JIRA by Yusuf Tran, 2 years ago
com.sun.xml.internal.bind.v2.ContextFactory not found from bundle [com.javahollic.jira.jemh-ui]]
via sourceforge.net by Unknown author, 2 years ago
via mendix.com by Unknown author, 2 years ago
com.sun.xml.internal.bind.v2.ContextFactory not found by com.typesafe.akka.osgi [26]]
via Java.net JIRA by juanmiguelbg, 1 year ago
com.sun.xml.internal.bind.v2.ContextFactory not found by com.sun.jersey.glassfish.v3.osgi.jersey-gf-server [206]]
via Java.net JIRA by juanmiguelbg, 2 years ago
com.sun.xml.internal.bind.v2.ContextFactory not found by com.sun.jersey.glassfish.v3.osgi.jersey-gf-server [206]]
java.lang.ClassNotFoundException: com.sun.xml.bind.v2.ContextFactory	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)	at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:117)	at javax.xml.bind.ContextFinder.find(ContextFinder.java:299)	at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:372)	at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:337)	at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:244)	at org.icefaces.application.showcase.view.builder.ApplicationBuilder.loadMetaData(ApplicationBuilder.java:113)	at org.icefaces.application.showcase.view.builder.ApplicationBuilder.(ApplicationBuilder.java:98)	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)	at java.lang.Class.newInstance0(Class.java:355)	at java.lang.Class.newInstance(Class.java:308)	at com.sun.faces.config.ManagedBeanFactoryImpl.newInstance(ManagedBeanFactoryImpl.java:277)	at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:511)	at com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:82)	at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)	at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)	at org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:45)	at org.apache.el.parser.AstValue.getValue(AstValue.java:86)	at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)	at com.sun.faces.config.ManagedBeanFactoryImpl.evaluateValueExpressionGet(ManagedBeanFactoryImpl.java:1003)	at com.sun.faces.config.ManagedBeanFactoryImpl.setPropertiesIntoBean(ManagedBeanFactoryImpl.java:636)	at com.sun.faces.config.ManagedBeanFactoryImpl.newInstance(ManagedBeanFactoryImpl.java:317)	at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:531)	at com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:82)	at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)	at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)	at org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:45)	at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)	at com.sun.faces.application.ValueBindingValueExpressionAdapter.getValue(ValueBindingValueExpressionAdapter.java:102)	at org.icefaces.application.showcase.util.FacesUtils.getManagedBean(FacesUtils.java:77)	at org.icefaces.application.showcase.view.bean.ApplicationController.getCurrentContextDescriptor(ApplicationController.java:320)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at javax.el.BeanELResolver.getValue(BeanELResolver.java:62)	at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)	at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)	at org.apache.el.parser.AstValue.getValue(AstValue.java:97)	at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)	at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)	at org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:41)	at org.apache.el.parser.AstValue.getValue(AstValue.java:86)	at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)	at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)	at com.sun.facelets.tag.TagAttribute.getObject(TagAttribute.java:233)	at com.sun.facelets.tag.TagAttribute.getValue(TagAttribute.java:200)	at com.sun.facelets.tag.ui.DecorateHandler.apply(DecorateHandler.java:105)	at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)	at com.sun.facelets.tag.ui.DefineHandler.applyDefinition(DefineHandler.java:64)	at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:131)	at com.sun.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:310)	at com.sun.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:280)	at com.sun.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:68)	at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)	at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)	at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)	at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)	at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)	at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)	at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)	at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)	at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)	at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)	at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)	at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)	at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)	at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)	at com.sun.facelets.tag.jsf.core.ViewHandler.apply(ViewHandler.java:109)	at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)	at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)	at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)	at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)	at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)	at com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:144)	at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:113)	at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)	at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)	at com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95)	at com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:274)	at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:161)	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)	at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)	at com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:18)	at com.icesoft.faces.webapp.http.core.PageServer$1.respond(PageServer.java:25)	at com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.respondWith(ServletRequestResponse.java:161)	at com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet$ThreadBlockingRequestResponse.respondWith(ThreadBlockingAdaptingServlet.java:36)	at com.icesoft.faces.webapp.http.core.PageServer.service(PageServer.java:30)	at com.icesoft.faces.webapp.http.core.MultiViewServer.service(MultiViewServer.java:56)	at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer$Matcher.serviceOnMatch(PathDispatcherServer.java:50)	at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:19)	at com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19)	at com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:63)	at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:139)	at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:53)	at com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52)	at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29)	at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:82)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)	at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:852)	at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:584)	at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1508)	at java.lang.Thread.run(Thread.java:619)