powered by Jive Software

Error: Could not find or load main class java.org.jivesoftware. openfire.starter.ServerStarter

I have imported src files into eclipse probably over 100 times over the past two weeks. I continue to get the error:

Error: Could not find or load main class java.org.jivesoftware.openfire.starter.ServerStarter

What is causing this error?

Document 1020 fails to explain the jar files needed in the classpath…

Fix this error in eclipse by adding Jar files to to the libraries tab in class path.

project properties> Java build path > Libraries tab >

then select all of the jar files in the build/lib/dist directory

as well as all jar files in build/lib/merge/ directory

plus the jars from any of the plugins you may be using

hi ohiomatt

The issue still persists.

Error: Could not find or load main class org.jivesoftware.openfire.starter.ServerStarter

Any pointers on what i could be doing wrong?

@Rishabbh - Try including all (and only) the jar files from the openfire distribution, build/lib/dist/.jar and build/lib/merge/.jar

Then build the project. And after a succesfull build execute target/openfire/bin/openfire.bat from command prompt. (C:\openfire_src_3_9_2\target\openfire\bin\openfire.bat)