java.lang.ClassNotFoundException: javax.activation.holders.DataHandlerHolder [wsdl2service]

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}

,

You are not deploying the oracle driver with the application. Place the driver jars in a shared or library extension folder of your application server. (You should go with option one or two though

Solutions on the web

via Oracle Community by 666705, 1 year ago
javax.activation.holders.DataHandlerHolder [wsdl2service]
via Oracle Community by 3004, 4 months ago
javax.xml.transform.holders.SourceHolder [wsdl2service]
java.lang.ClassNotFoundException: javax.activation.holders.DataHandlerHolder [wsdl2service]
at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at weblogic.xml.schema.binding.ClassLoadingUtils.loadNonArrayClass(ClassLoadingUtils.java:70)
at weblogic.xml.schema.binding.ClassLoadingUtils.loadClass(ClassLoadingUtils.java:43)
at weblogic.xml.schema.binding.internal.TypeMappingBase.loadClass(TypeMappingBase.java:627)
at weblogic.xml.schema.binding.internal.TypeMappingBase.getHolderClass(TypeMappingBase.java:153)
at weblogic.webservice.tools.stubgen.StubGenHelper.getJavaTypeHolderName(StubGenHelper.java:489)
at weblogic.webservice.tools.stubgen.StubGenHelper.getArgStatementWithOutParamOrder(StubGenHelper.java:428)
at weblogic.webservice.tools.stubgen.StubGenHelper.getArgStatement(StubGenHelper.java:313)
at weblogic.webservice.tools.wsdl2service.ServiceClass.generate(ServiceClass.java:55)
at weblogic.webservice.tools.wsdl2service.WSDL2Service.writeService(WSDL2Service.java:91)
at weblogic.webservice.tools.wsdl2service.WSDL2Service.visit(WSDL2Service.java:74)
at weblogic.webservice.tools.build.internal.WSDL2JavaServiceImpl.runClassgen(WSDL2JavaServiceImpl.java:220)
at weblogic.webservice.tools.build.internal.WSDL2JavaServiceImpl.run(WSDL2JavaServiceImpl.java:146)
at weblogic.ant.taskdefs.webservices.wsdl2service.WSDL2Service.doWSDL2JavaService(WSDL2Service.java:211)
at weblogic.ant.taskdefs.webservices.wsdl2service.WSDL2Service.execute(WSDL2Service.java:131)
at org.apache.tools.ant.Task.perform(Task.java:341)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:336)
at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
at org.apache.tools.ant.Main.runBuild(Main.java:609)
at org.apache.tools.ant.Main.start(Main.java:196)

Users with the same issue

2 times, 2 months ago
18 times, 8 months ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
1421 more bugmates

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