Project

General

Profile

Problem in updating from 5.2.0 beta3 to RC1

Keren Meir
Added about 5 years ago

Hi,

I upgrade my server from beta3 to RC1, everything works good.

I made a few changes in the tigase server and export a runnable jar file to replace the current tigase-server.jar.

The server is failed to run with this exception:

Exception in thread "main" java.lang.NoClassDefFoundError: tigase/xml/XMLNodeIfc
    at tigase.server.XMPPServer.main(XMPPServer.java:126)
Caused by: java.lang.ClassNotFoundException: tigase.xml.XMLNodeIfc
    at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    ... 1 more

When I unzip the original jar file I see extra packages than what I have from the repository, xml is one of them.

Where can I get this jar file containing the extra packages?

Thanks


Replies (4)

Added by Wojciech Kapcia TigaseTeam about 5 years ago

How did you build tigase-server binary?

A while back we started to inline tigase-xml and tigase-utils within tigase-server.jar binary. If you use maven then those should be included automatically in your output binary as well. Alternatively you could simply put aforementioned binaries (utils, xmltools) within classpath (jars/).

Added by Keren Meir about 5 years ago

I don't build with maven. I'm using eclipse, build the project and export runnable jar file which I replace with the existing one.

Where can I download the utils and xmltools jars?

Thanks

Added by Wojciech Kapcia TigaseTeam about 5 years ago

Those just a regular projects:

You can either build them yourself or grab latest binaries from our maven SNAPSHOT repository: http://build.tigase.org/maven/tigase/ .

Added by Keren Meir about 5 years ago

Thanks!

    (1-4/4)