I add the startup.jar to the classpath then this exception occur
java.lang.ClassNotFoundException: org.jivesoftware.openfire.XMPPServer
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:104
)
at org.jivesoftware.openfire.starter.ServerStarter.main(ServerStarter.java:51)
so I also add the openfire.jar to the classpath
then the openfire start normally ,but i didn’t know why ? because i add jar from the openfire/target/lib
but the openfire genrate target after “ant openfire” why the first configure from