Advertisement
Guest User

ServiceLoader.next causing a NoClassDefFoundError

a guest
Apr 30th, 2013
434
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.33 KB | None | 0 0
  1. SEVERE: Exception sending context initialized event to listener instance of class com.web.project.TheListener
  2. java.lang.NoClassDefFoundError: com/web/project/WebProjectPlugin
  3. at java.lang.ClassLoader.defineClass1(Native Method)
  4. at java.lang.ClassLoader.defineClass(Unknown Source)
  5. at java.security.SecureClassLoader.defineClass(Unknown Source)
  6. at java.net.URLClassLoader.defineClass(Unknown Source)
  7. at java.net.URLClassLoader.access$100(Unknown Source)
  8. at java.net.URLClassLoader$1.run(Unknown Source)
  9. at java.net.URLClassLoader$1.run(Unknown Source)
  10. at java.security.AccessController.doPrivileged(Native Method)
  11. at java.net.URLClassLoader.findClass(Unknown Source)
  12. at java.lang.ClassLoader.loadClass(Unknown Source)
  13. at java.lang.ClassLoader.loadClass(Unknown Source)
  14. at java.lang.Class.forName0(Native Method)
  15. at java.lang.Class.forName(Unknown Source)
  16. at java.util.ServiceLoader$LazyIterator.next(Unknown Source)
  17. at java.util.ServiceLoader$1.next(Unknown Source)
  18. at com.web.project.TheListener.loadPlugins(TheListener.java:55)
  19. at com.web.project.TheListener.contextInitialized(TheListener.java:26)
  20. at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)
  21. at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
  22. at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
  23. at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
  24. at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
  25. at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
  26. at java.util.concurrent.FutureTask.run(Unknown Source)
  27. at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
  28. at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  29. at java.lang.Thread.run(Unknown Source)
  30. Caused by: java.lang.ClassNotFoundException: com.web.project.WebProjectPlugin
  31. at java.net.URLClassLoader$1.run(Unknown Source)
  32. at java.net.URLClassLoader$1.run(Unknown Source)
  33. at java.security.AccessController.doPrivileged(Native Method)
  34. at java.net.URLClassLoader.findClass(Unknown Source)
  35. at java.lang.ClassLoader.loadClass(Unknown Source)
  36. at java.lang.ClassLoader.loadClass(Unknown Source)
  37. ... 28 more
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement