java.lang.NoClassDefFoundError: com/gargoylesoftware/htmlunit/html/HtmlElement

Stack Overflow | Ashwini.J | 6 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola . Or join the community to write better ones.
  1. 0

    Getting error "java.lang.NoClassDefFoundError: com/gargoylesoftware/htmlunit/html/HtmlElement"

    Stack Overflow | 6 months ago | Ashwini.J
    java.lang.NoClassDefFoundError: com/gargoylesoftware/htmlunit/html/HtmlElement
  2. 0
    samebug tip
    Look for missing class files, specially org.I0Itec.zkclient.IZkStateListener.
  3. 0

    ServletException: ClassNotFoundException org.eclipse.jetty.websocket.server.WebSocketServerFactory

    Stack Overflow | 2 years ago | Ziron5
    java.lang.ClassNotFoundException: org.eclipse.jetty.websocket.server.WebSocketSe rverFactory
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I downloaded the eval version yesterday (2.2.x), and have it quasi configured (it was running) when I discovered that 2.3 was released. So I deleted the old version's directory, and installed (unzipped) the new package into c:\fisheye. When running the bat file, this is what I get: C:\Documents and Settings\stalsma>cd \fisheye\fecru-2.3.0\bin C:\fisheye\fecru-2.3.0\bin>run.bat ERROR: problem running command java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:106) at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:39) Caused by: java.lang.NoClassDefFoundError: org/apache/velocity/app/Velocity at com.cenqua.fisheye.AppConfig.<clinit>(AppConfig.java:60) at com.cenqua.fisheye.ctl.Run.initJVM(Run.java:631) at com.cenqua.fisheye.ctl.Run.mainImpl(Run.java:77) at com.cenqua.fisheye.ctl.Run.main(Run.java:69) ... 6 more Caused by: java.lang.ClassNotFoundException: org.apache.velocity.app.Velocity at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 10 more Press any key to continue . . .

    Atlassian JIRA | 7 years ago | Scott Talsma
    java.lang.reflect.InvocationTargetException
  6. 0

    I downloaded the eval version yesterday (2.2.x), and have it quasi configured (it was running) when I discovered that 2.3 was released. So I deleted the old version's directory, and installed (unzipped) the new package into c:\fisheye. When running the bat file, this is what I get: C:\Documents and Settings\stalsma>cd \fisheye\fecru-2.3.0\bin C:\fisheye\fecru-2.3.0\bin>run.bat ERROR: problem running command java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:106) at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:39) Caused by: java.lang.NoClassDefFoundError: org/apache/velocity/app/Velocity at com.cenqua.fisheye.AppConfig.<clinit>(AppConfig.java:60) at com.cenqua.fisheye.ctl.Run.initJVM(Run.java:631) at com.cenqua.fisheye.ctl.Run.mainImpl(Run.java:77) at com.cenqua.fisheye.ctl.Run.main(Run.java:69) ... 6 more Caused by: java.lang.ClassNotFoundException: org.apache.velocity.app.Velocity at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 10 more Press any key to continue . . .

    Atlassian JIRA | 7 years ago | Scott Talsma
    java.lang.reflect.InvocationTargetException

  1. iferca 3 times, last 3 weeks ago
  2. andyglick 1 times, last 3 weeks ago
  3. Andreas Häber 2 times, last 3 weeks ago
  4. carloscharx 6 times, last 4 weeks ago
  5. poroszd 1 times, last 1 month ago
68 more registered users
27 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    com.gargoylesoftware.htmlunit.html.HtmlElement

    at java.net.URLClassLoader.findClass()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader.findClass(Unknown Source)
    2. java.lang.ClassLoader.loadClass(Unknown Source)
    3. sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    4. java.lang.ClassLoader.loadClass(Unknown Source)
    4 frames
  3. Unknown
    sample_google.setUp
    1. sample_google.setUp(sample_google.java:31)
    1 frame
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  5. TestNG
    RemoteTestNG.main
    1. org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
    2. org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:514)
    3. org.testng.internal.Invoker.invokeConfigurations(Invoker.java:215)
    4. org.testng.internal.Invoker.invokeConfigurations(Invoker.java:142)
    5. org.testng.TestRunner.beforeRun(TestRunner.java:656)
    6. org.testng.TestRunner.run(TestRunner.java:624)
    7. org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
    8. org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361)
    9. org.testng.SuiteRunner.privateRun(SuiteRunner.java:319)
    10. org.testng.SuiteRunner.run(SuiteRunner.java:268)
    11. org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
    12. org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
    13. org.testng.TestNG.runSuitesSequentially(TestNG.java:1244)
    14. org.testng.TestNG.runSuitesLocally(TestNG.java:1169)
    15. org.testng.TestNG.run(TestNG.java:1064)
    16. org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:126)
    17. org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:152)
    18. org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:57)
    18 frames