Problem in updating from 5.2.0 beta3 to RC1

Keren Meir
Added over 5 years ago


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(
Caused by: java.lang.ClassNotFoundException: tigase.xml.XMLNodeIfc
    at Method)
    at java.lang.ClassLoader.loadClass(
    at sun.misc.Launcher$AppClassLoader.loadClass(
    at java.lang.ClassLoader.loadClass(
    ... 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?


Replies (4)

Added by Wojciech Kapcia TigaseTeam over 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 over 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?


Added by Wojciech Kapcia TigaseTeam over 5 years ago

Those just a regular projects:

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

Added by Keren Meir over 5 years ago