sunenielsen / tribaltrouble

GNU General Public License v2.0
175 stars 58 forks source link

Missing class? com.oddlabs.regservice.RegService #5

Closed team-penguin closed 10 years ago

team-penguin commented 10 years ago

I have the matchmaker and router services running, but the regservice won't execute. I think there is some code missing?

find -name RegService* ./common/build/classes/com/oddlabs/registration/RegServiceInterface.class ./common/classes/com/oddlabs/registration/RegServiceInterface.java

eliasnaur commented 10 years ago

Do you have an error message to show? Did you see the files in servlet/classes/com/oddlabs/regservlet?

team-penguin commented 10 years ago

./regservice Exception in thread "main" java.lang.NoClassDefFoundError: com/oddlabs/regservice/RegService Caused by: java.lang.ClassNotFoundException: com.oddlabs.regservice.RegService at java.net.URLClassLoader$1.run(URLClassLoader.java:217) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:323) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) at java.lang.ClassLoader.loadClass(ClassLoader.java:268) Could not find the main class: com.oddlabs.regservice.RegService. Program will exit. Service crashed, sending report

The class referenced in the startup script isn't on the filesystem.

eliasnaur commented 10 years ago

Looking back at the repository history it became clear that RegService was deleted and replaced with the registration servlet. In other words, the non-servlet registration service is not needed for the game to run.