AnsweredAssumed Answered

Error loading red5 plugin... NoClassDefFoundError:/jetty/HandlerContainer

Question asked by ozozgur on Jan 26, 2010
Latest reply on Nov 23, 2010 by RegeX

Hi,

       I had been trying to install red5 using the red5.war file (tried different versions).

It has been working on another machine of mine.

On the deployment machine it kept not appearing on installed plugins list.

now I checked error.log

I see NoClassDefFoundError: org/mortbay/jetty/HandlerContainer error manytimes in the log:

 

2010.01.26 14:32:31 Error loading plugin: /home/ozozgur/workspace/openfire/target/openfire/plugins/red5
java.lang.NoClassDefFoundError: org/mortbay/jetty/HandlerContainer

        at java.lang.Class.getDeclaredConstructors0(Native Method)

        at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)

        at java.lang.Class.getConstructor0(Class.java:2699)

        at java.lang.Class.newInstance0(Class.java:326)

        at java.lang.Class.newInstance(Class.java:308)

        at org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java :420)

        at org.jivesoftware.openfire.container.PluginManager.access$300(PluginManager.java :80)

        at org.jivesoftware.openfire.container.PluginManager$PluginMonitor.run(PluginManag er.java:1067)

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

        at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)

        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)

        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101 (ScheduledThreadPoolExecutor.java:98)

        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodi c(ScheduledThreadPoolExecutor.java:181)

        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Schedu ledThreadPoolExecutor.java:205)

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java: 886)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

        at java.lang.Thread.run(Thread.java:619)

Caused by: java.lang.ClassNotFoundException: org.mortbay.jetty.HandlerContainer

        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 java.lang.ClassLoader.loadClass(ClassLoader.java:307)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)

        ... 17 more

Outcomes