java.lang.ClassNotFoundException: jboss-app-client.ear#simpleClient.jar

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

,
Expert tip

This might be an issue with the file location in the Spark submit command. Try it with

spark-submit --master spark://master:7077 \
     hello_world_from_pyspark.py {file location}

,
Expert tip

Check if you've set a name in Application -> Run. If you didn't, the generated XML is gonna have missing information and then this exception will be thrown.

Solutions on the web

via Stack Overflow by anupm
, 9 months ago
com.cigital.Jar2.App
via Stack Overflow by thetwan
, 1 year ago
via Coderanch by Arno Pronk, 1 year ago
javax.jms.JMSException not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/home/arno/jboss-4.2.3.GA/server/default/lib/,file:/home/arno/jboss-4.2.3.GA/lib/,file:/home/arno/workspace/5SimpleChatServer/bin/], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
java.lang.ClassNotFoundException: jboss-app-client.ear#simpleClient.jar
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at org.glassfish.appclient.client.AppClientFacade.createContainerForClassName(AppClientFacade.java:482)
at org.glassfish.appclient.client.AppClientFacade.createContainer(AppClientFacade.java:431)
at org.glassfish.appclient.client.AppClientFacade.prepareACC(AppClientFacade.java:270)
at org.glassfish.appclient.client.acc.agent.AppClientContainerAgent.premain(AppClientContainerAgent.java:83)
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:497)
at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 2 months ago
Once, 4 months ago
Once, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.