java.lang.ClassNotFoundException: org.apache.cxf.bus.CXFBusFactory in classloader org.apache.cxf.bus.CXFBusFactory at org.apache.xbean.classloader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:206)

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 grokbase.com by Unknown author, 1 year ago
org.apache.cxf.bus.CXFBusFactory in classloader org.apache.cxf.bus.CXFBusFactory at org.apache.xbean.classloader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:206)
via Oracle Community by 392 Guest, 1 year ago
>>> javax.xml.stream.XMLInputFactory >>> at >>> org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.findClass(R4SearchPolicyCore.java:198) >>> >>> at >>> org.apache.felix.framework.searchpolicy.R4SearchPolicy.findClass(R4SearchPolicy.java:45) >>> >>> at >>> org.apache.felix.framework.searchpolicy.ContentClassLoader.loadClass(ContentClassLoader.java:109) >>> >>>
via Oracle Community by 392 Guest, 1 year ago
>> javax.xml.stream.XMLInputFactory >> at >> org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.findClass(R4SearchPolicyCore.java:198) >> >> at >> org.apache.felix.framework.searchpolicy.R4SearchPolicy.findClass(R4SearchPolicy.java:45) >> >> at >> org.apache.felix.framework.searchpolicy.ContentClassLoader.loadClass(ContentClassLoader.java:109) >> >>
via apache.org by Unknown author, 2 years ago
com.mysql.jdbc.Driver at >>> org.apache.felix.framework.searchpolicy.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:558) at >>> org.apache.felix.framework.searchpolicy.ModuleImpl.access$100(ModuleImpl.java:59) at >>> org.apache.felix.framework.searchpolicy.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1427)
via nabble.com by Unknown author, 1 year ago
com.example.rest.JerseyApplication at > org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:494) at > org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410) at
via ibm.com by Unknown author, 2 years ago
COM.ibm.db2.jdbc.app.DB2Driver at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:14 44) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:12 89) at com.cognos.pogo.isolation.ParanoidClassLoader.loadClass(ParanoidClassLoader.java :116)
java.lang.ClassNotFoundException: org.apache.cxf.bus.CXFBusFactory in classloader org.apache.cxf.bus.CXFBusFactory at org.apache.xbean.classloader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:206)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at org.apache.cxf.BusFactory.newInstance(BusFactory.java:157)
at org.apache.cxf.BusFactory.newInstance(BusFactory.java:140)
at org.apache.cxf.BusFactory.getDefaultBus(BusFactory.java:69)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year 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.