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

    If JVM throws ClassNotFoundException the class is not found in classpath. Seems you are missing hibernate dependency in your project set up. Try downloading hibernate-core.jar and add to your project classpath.

Solutions on the web

via Stack Overflow by jobe
, 1 year ago
Failed to execute goal org.apache.cxf:cxf-codegen-plugin:3.1.6:wsdl2java (aspsms) on project webapp: org/apache/velocity/context/Context
via Stack Overflow by hell_storm2004
, 1 week ago
Failed to execute goal org.apache.cxf:cxf-codegen-plugin:3.2.4:wsdl2java (generate-sources-1) on project ALLXSDSchemaFiles: org.apache.cxf.common.jaxb.JAXBUtils.unmarshall(Ljavax/xml/bind/JAXBContext;Lorg/w3c/dom/Element;Ljava/lang/Class;)Ljavax/xml/bind/JAXBElement;
via GitHub by eblis
, 1 year ago
Failed to execute goal io.swagger:swagger-codegen-maven-plugin:2.2.2-SNAPSHOT:generate (generate-server) on project adapter: Execution generate-server of goal io.swagger:swagger-codegen-maven-plugin:2.2.2-SNAPSHOT:generate failed.
via Stack Overflow by besmart
, 2 years ago
Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:deploy (default-cli) on project webapp: Cannot invoke Tomcat manager
via GitHub by moimael
, 2 years ago
Failed to execute goal net.wouterdanes.docker:docker-maven-plugin:4.1.0:start-containers (start) on project alinto-ui-webapp: Execution start of goal net.wouterdanes.docker:docker-maven-plugin:4.1.0:start-containers failed.
via Stack Overflow by Mithrand1r
, 2 years ago
Failed to execute goal com.liferay.maven.plugins:liferay-maven-plugin:6.2.5:build-service (default-cli) on project CityGamePlugin-portlet-service: org/apache/xerces/xni/XNIException
java.lang.ClassNotFoundException: org.apache.velocity.context.Context	at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)	at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)	at org.apache.cxf.tools.wsdlto.core.AbstractGenerator.(AbstractGenerator.java:47)	at org.apache.cxf.tools.wsdlto.frontend.jaxws.generators.AbstractJAXWSGenerator.(AbstractJAXWSGenerator.java:30)	at org.apache.cxf.tools.wsdlto.frontend.jaxws.generators.AntGenerator.(AntGenerator.java:44)	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)	at java.lang.Class.newInstance(Class.java:442)	at org.apache.cxf.tools.wsdlto.core.PluginLoader.getFrontEndGenerators(PluginLoader.java:278)	at org.apache.cxf.tools.wsdlto.core.PluginLoader.getFrontEndProfile(PluginLoader.java:393)	at org.apache.cxf.tools.wsdlto.WSDLToJava.loadFrontEnd(WSDLToJava.java:64)	at org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:96)	at org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:86)	at org.apache.cxf.maven_plugin.wsdl2java.WSDL2JavaMojo.generate(WSDL2JavaMojo.java:415)	at org.apache.cxf.maven_plugin.AbstractCodegenMoho.execute(AbstractCodegenMoho.java:260)	at org.apache.cxf.maven_plugin.wsdl2java.WSDL2JavaMojo.execute(WSDL2JavaMojo.java:512)	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)	at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)