|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Error starting Red5Can anyone help me figuring out why I get this when trying to start red5? Starting Red5... Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory at org.red5.server.Standalone.<clinit>(Standalone.java:43) Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory at java.net.URLClassLoader$1.run(URLClassLoader.java:217) ... etc... Thanks _______________ Sincerely Cristian Rusu _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
|
|
Re: Error starting Red5You are missing dependencies. I went through the same when trying to figure out how to build from trunk, here is the email from Yohann that helped me, hope it clears things for you too. You may want to check this link too: http://www.nabble.com/Red5-in-Eclipse-td22327510.html
On 3/10/09, Rafael Carabano <r2afael@...> wrote: in red5 root directory, take a look at ivy.xml, this file contains the> Hi Yohann - Great thanks for your response. I finally found the time to > follow your instructions. Red5 builds successfully. But I have a couple > questions. How do you know what dependencies are required by red5? list of java libraries that are required by red5. Amongst those libraries, some are necessary for usual compilation, some are only necessary for unit tests. This is the case for junit 4.5 and grobo utils. ivy.xml contains the name of libraries (actually jars - java archives) but it also gives the version number of libraries. Before using red5, I've never heard about ivy, I don't know which sort of grass red5 guys were smoking when they choosed their dependency management tool, but they didn't choose maven, neither maven tasks for ant.... For your information, maven is a tool which defines a project directory layout and which defines dependency management. It also provides a central repository which contains many useful libraries. It seems that ivy uses url patterns to retrieve jars from http servers. And stronger, it can use several urls. If the first fails, it tries the second one, etc. And apparently, those url patterns are configured in ivysettings.xml in red5 root directory. If you're new to java, let me explain you one thing: many java projects on the internet use other projects which uses other projects etc. When you download a project, there is often a jar file which contains the compiled classes of the project itself. Then, dependencies must be added to the classpath to let the java virtual machine find other classes which are generally not in the same package. Here, several possibilites: some projects create a lib directory in which they put jar files they need. Some projects use a dynamic management tool like ivy to retrieve jar files dynamically. > do you > look into classes etc? (I'm new to java). format may vary (maven pom.xml, ivy ivy.xml, etc.) > Also as I downloaded Grobo Utils, > I noticed that its jars are distributed over a tree of sub folders under > lib, do I have to mantain that file structure for its packages to work? which contains the package tree. Don't break lib tree if you want red5 to compile/work properly. > and > how do I go about including said jars in eclipse? (so far I only know how to > include a set of jars). Again thanks for extending me your help, project in package explorer, then properties, java build path, libraries, etc. On Wed, Jul 1, 2009 at 4:30 AM, Cristian Rusu <crirus@...> wrote: Hello _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
| Free embeddable forum powered by Nabble | Forum Help |