[Red5] Failed to load webapplication context class.

Bert Buschop bertje.b at gmail.com
Fri Jul 24 05:09:03 PDT 2009


Hello,

I am working with red5 0.8
I am trying to add a new application to the  webapps folder.

I created a newapp folder in the webapps folder.
I created a java test app using eclips:

*package be.companyname.newapp

import org.red5.server.adapter.ApplicationAdapter;


public class Application extends ApplicationAdapter
{
    public String test()
    {
        return "test";
    }
}*

I did the proper modifications in the properties and xml files + I made sure
the build was properly performed.

In my WEB-INF I have the following files:
- log4j.properties
- red5-web.properties
- red5-web.xml
- web.xml
- classes/be/companyname/newapp/Application.class
- src/be/companyname/newapp/Application.java

When I restart the red5 server I get this error:

*
Exception in thread "Launcher:/newapp" java.lang.RuntimeException: Failed to
load webapplication context class.
        at org.red5.server.tomcat.TomcatLoader$1.run(TomcatLoader.java:531)
Caused by: java.lang.ClassNotFoundException:
org/springframework/web/context/support/XmlWebApplicationContext
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:247)
        at org.red5.server.tomcat.TomcatLoader$1.run(TomcatLoader.java:528)*

I searched but did not found any documentation... I hope someone can tell me
what went wrong?

Bert Buschop
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/red5_osflash.org/attachments/20090724/6370cb9e/attachment-0001.html>


More information about the Red5 mailing list