Forum Discussion

BooHyunJang's avatar
BooHyunJang
Occasional Contributor
4 years ago

[re]CodeCollab GUI execute Error

java.lang.NoClassDefFoundError: javax/xml/ws/http/HTTPException
at com.smartbear.ccollab.GuiMain.getMainCommand(GuiMain.java:72)
at com.smartbear.ccollab.GuiMain.main(GuiMain.java:48)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:81)
at com.exe4j.runtime.WinLauncher.main(WinLauncher.java:94)
at com.install4j.runtime.launcher.WinLauncher.main(WinLauncher.java:25)
Caused by: java.lang.ClassNotFoundException: javax.xml.ws.http.HTTPException
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:606)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:168)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
... 9 more

 

CodeCollab run it, you'll get the error above, so tell me the solution.

 

Plz Help me.

 

  • Duncan552's avatar
    Duncan552
    Occasional Visitor

    BooHyunJang wrote:

    java.lang.NoClassDefFoundError: javax/xml/ws/http/HTTPException
    at com.smartbear.ccollab.GuiMain.getMainCommand(GuiMain.java:72)
    at com.smartbear.ccollab.GuiMain.main(GuiMain.java:48)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:564)
    at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:81)
    at com.exe4j.runtime.WinLauncher.main(WinLauncher.java:94)
    at com.install4j.runtime.launcher.WinLauncher.main(WinLauncher.java:25)
    Caused by: java.lang.ClassNotFoundException: javax.xml.ws.http.HTTPException
    at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:606)
    at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:168)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
    ... 9 more

     

    CodeCollab run it, you'll get the error above, so tell me the solution.

     

    Plz Help me.

     


    My issue had something to do with perforce. I updated Code Collaborator to a newer version and it installed the Add to Review tool in perforce. When I tried to run it I got the error above.

    When I looked at the old tool that had previously been added I noticed one difference. The Arguments had --p4 /usr/local/bin/p4 while the newer one didn't. When I added this it worked fine.

  • prajakta1's avatar
    prajakta1
    New Contributor

    I had got same error.

    It depends upon the java version. I was using openjdk-11. I uninstalled it and installed java 1.8 and this issue was resolved.