java.lang.reflect.InvocationTargetException

Exception #2900876

Samebug tips8

jsp-api and servlet-api jars must NOT be deployed by your web app. They should be marked as provided but not deployed by your app.


rafaelrafael

The server rejects all jars that already belong to the server runtime (such as tomcat-.jar, servlet.jar). Consider substituting the CORS filter you're using for this one: https://goo.gl/ctQ7Fs

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web14392

  • via Stack Overflow by Bimbz
    ,
  • Stack trace

    • java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.javaws.Launcher.executeApplication(Launcher.java:1822) at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1763) at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1525) at com.sun.javaws.Launcher.run(Launcher.java:131) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.NoClassDefFoundError: com/android/ddmlib/AndroidDebugBridge at net.srcz.android.screencast.Main.initialize(Main.java:36) at net.srcz.android.screencast.Main.<init>(Main.java:25) at net.srcz.android.screencast.Main.main(Main.java:107) ... 9 more Caused by: java.lang.ClassNotFoundException: com.android.ddmlib.AndroidDebugBridge at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at com.sun.jnlp.JNLPClassLoader.findClass(JNLPClassLoader.java:345) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ... 12 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    1249 more bugmates