[RESOLVED] Error when running RegisterGameServer

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
Geowil
Posts: 10
Joined: Sun Aug 19, 2007 9:07 pm

[RESOLVED] Error when running RegisterGameServer

Post by Geowil »

EDIT:

Looks like I downloaded the wrong stuff lol.

I used the SVN links from the l2jserver homepage and downloaded em with tortisesvn.


went to the repository for the nightlies, downloaded the latest zips and now it working.


I am unable to run the RegisterServer.bat file.

I get this error message:
Exception in thread "main" java.lang.NoClassDefFoundError: net/sf/l2j/gsregister
ing/GameServerRegister
Caused by: java.lang.ClassNotFoundException: net.sf.l2j.gsregistering.GameServer
Register
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 sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class: net.sf.l2j.gsregistering.GameServerRegister. Pro
gram will exit.
Press any key to continue . . .

I tried looking for my server/datapack version but there was no l2j-version.properties/l2jdp-version.properties in the config folder.


I get similar errors running the other bats in the dist folder.


JDK Version 6 Update 13
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing)
kotk
Posts: 99
Joined: Wed Jan 04, 2006 12:51 am

Re: [RESOLVED] Error when running RegisterGameServer

Post by kotk »

Your title says RESOLVED but I can't tell if you fixed your problem. Anyway, take a look at this FAQ from the old forum.
http://www.l2jserver.com/old-forum/thre ... adid=29864
Geowil
Posts: 10
Joined: Sun Aug 19, 2007 9:07 pm

Re: [RESOLVED] Error when running RegisterGameServer

Post by Geowil »

before none of the .bin files were running. They wouldnt latch onto java or java was not taking the commands or something.

I went to the trac homepage and downloaded the .zip files from the nightlies page.

Before I was using the server files that came from the SVN links on the l2j.com homepage, those files did not work.

but with the files from the nightlies zip those .bin files run now.
Piasa
Posts: 2
Joined: Thu May 14, 2009 10:08 pm

Re: [RESOLVED] Error when running RegisterGameServer

Post by Piasa »

kotk wrote:Your title says RESOLVED but I can't tell if you fixed your problem. Anyway, take a look at this FAQ from the old forum.
http://www.l2jserver.com/old-forum/thre ... adid=29864

Thank you for that post, I was having the same issues and this helped... i was about to go nuts O.o
Post Reply