Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't run tigase server #126

Open
mgben16 opened this issue Jan 5, 2022 · 1 comment
Open

Can't run tigase server #126

mgben16 opened this issue Jan 5, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@mgben16
Copy link

mgben16 commented Jan 5, 2022

Describe the bug
Hello, I'm trying to setup tigase server for a school project. I'm using Ubuntu 20.04.3 LTS. After cloning the repository (git clone https://github.com/tigase/tigase-server.git), compiling using maven (mvn package test) and setting JAVA_HOME in etc/tigase.conf file, I get the following error when trying to run the server (in tigase-console.log file):

==========
STARTED Tigase mié 05 ene 2022 16:26:49 CET using:
./scripts/tigase.sh start etc/tigase.conf

Exception in thread "main" java.lang.NoClassDefFoundError: tigase.xml.XMLNodeIfc
at tigase.server.XMPPServer.main(XMPPServer.java:137)
Caused by: java.lang.ClassNotFoundException: tigase.xml.XMLNodeIfc
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:766)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:1081)
... 1 more

How could I solve this problem?

(This is my very first service administration project, so I apologize for any errors or missing information)

@mgben16 mgben16 added the bug Something isn't working label Jan 5, 2022
@woj-tek
Copy link
Contributor

woj-tek commented Jan 5, 2022

I would suggest taking a look at Quick Start guide and using pre-build packages available in release section (especially if this is "administration project").

Otherwise, you would have to include all require dependencies (xmltools, utils and jdbc drivers for the selected database at the very least).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants