.63b2 Lan Server Error

.63b2 Lan Server Error

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

User avatar
LocalFiend
Posts: 26
Joined: 17 Sep 2005, 03:13

.63b2 Lan Server Error

Post by LocalFiend »

When I run any of the lan server batch files this is what pops up in the command prompt -
D:\CAVEDOG\TOTALA\TASpring\Server>REM press CTRL+C to stop server

D:\CAVEDOG\TOTALA\TASpring\Server>java TASServer -lan | tee TASServer.log
Exception in thread "main" java.lang.NoClassDefFoundError: TASServer

So anytime I use the client to connect to my local server it of course, doesn't work. Is this a problem with Java? I have the most recent version, followed the readme, and I'm out of ideas.
Any type of help or ideas are appreciated.
Thanks
User avatar
smartie
NOTA Developer
Posts: 146
Joined: 23 Jun 2005, 19:29

Post by smartie »

I have this same error. PLEASE HELP!
TARevenger
Posts: 111
Joined: 23 Jan 2005, 00:09

Post by TARevenger »

Your missing a file

I had the same problem

I fixed it by having the previous version of the lan server and putting the missiog file from the old lan server in the new one.

try download this lan server http://www.fileuniverse.com/?p=showitem&ID=1308
try install this one, then extract the new one ontop, overwriting existing files

if that doesn't work I'll upload my TASpring lan server folder to my webspace/webpage
Archangel of Death
Posts: 854
Joined: 28 Jan 2005, 18:15

Post by Archangel of Death »

Well thats the info I needed. The file "ClientThread.class" is missing from the .151 zip. Put it in, problem fixed. Backwards compatible to at least .141, the earliest server version I have.
Betalord
Former Engine Dev
Posts: 543
Joined: 29 Jun 2005, 09:31

Post by Betalord »

Sorry, forgot to put ClientThread.class in the archive. It still works if you recompile it though. I added it to the zip now.
User avatar
LocalFiend
Posts: 26
Joined: 17 Sep 2005, 03:13

Post by LocalFiend »

Well, I downloaded the new zip and made sure that I had the ClientThread.class file, but I still get the same error. Is there some strange process I need to go through to get the Lobby to work? Or do I need to call an exorcist.
Betalord
Former Engine Dev
Posts: 543
Joined: 29 Jun 2005, 09:31

Post by Betalord »

It works fine for me, perhaps you made a shortcut to it and are running it from somewhere else? In that case the working dir may be different and it can't find TASServer.class or other files.
If that is not the case, try recompiling the server yourself (sources are included), just make sure you have java SDK 1.4.2 or newer. To recompile, type javac *.java in cmd.
User avatar
smartie
NOTA Developer
Posts: 146
Joined: 23 Jun 2005, 19:29

Post by smartie »

It works now. Thank you very much :-)
User avatar
LocalFiend
Posts: 26
Joined: 17 Sep 2005, 03:13

Post by LocalFiend »

Even after I recompiled the server it wouldn't work. No shortcuts of any kind, it knows the proper working directory. I'm just gonna have to learn java and make my own server. Thanks for the help.
Betalord
Former Engine Dev
Posts: 543
Joined: 29 Jun 2005, 09:31

Post by Betalord »

LocalFriend, what's the problem this time? Same error message?
User avatar
LocalFiend
Posts: 26
Joined: 17 Sep 2005, 03:13

Post by LocalFiend »

Yep, same error message. I don't get it. I have all the files, the latest Java Sdk and, yah I checked everything I can think of. Perhaps it has something to do with my OS. Does any of this stuff work differently on XP Pro? Oh, and to apologize if I sounded sarcastic last message, I am thankful for the help, and I was serious about learning the Java stuff.
User avatar
chillaaa
Posts: 234
Joined: 16 Mar 2005, 00:12

Post by chillaaa »

Hi all, it seems i am getting the same error that LocalFiend is having

Exception in thread "main" java.lang.NoClassDefFoundError: TASServer

I am running XP Pro with Java 1.5.0_04-b05 (latest j2se). I've done the exact same things as he has. except the recompile as i dont have an sdk version installed
Betalord
Former Engine Dev
Posts: 543
Joined: 29 Jun 2005, 09:31

Post by Betalord »

Do you have TASServer.class and TASServer$1.class in your dir?
User avatar
LocalFiend
Posts: 26
Joined: 17 Sep 2005, 03:13

Post by LocalFiend »

Aha, I do not have TASServer$1.class, but I do have the other. I thought the missing file was ClientThread.class. I went and got the other files from old versions. Is the new zip correccted - having all the files?
Betalord
Former Engine Dev
Posts: 543
Joined: 29 Jun 2005, 09:31

Post by Betalord »

Is the new zip correccted - having all the files?
Yes it is.
User avatar
chillaaa
Posts: 234
Joined: 16 Mar 2005, 00:12

Post by chillaaa »

Betalord wrote:Do you have TASServer.class and TASServer$1.class in your dir?
Yes and still the same error
User avatar
LocalFiend
Posts: 26
Joined: 17 Sep 2005, 03:13

Post by LocalFiend »

I still have the same error as well, even though I now have all of the files.
User avatar
chillaaa
Posts: 234
Joined: 16 Mar 2005, 00:12

Post by chillaaa »

I have also reinstalled java. I downloaded the java SDK 1.50_b05 and could not get it to recompile from cmd prompt
Betalord
Former Engine Dev
Posts: 543
Joined: 29 Jun 2005, 09:31

Post by Betalord »

if you get
Exception in thread "main" java.lang.NoClassDefFoundError: TASServer
then you obviously either don't have one of the .class files, or you are running it from a shortcut, or you are running it manually with "java TASServer.java" (which is wrong).
I can't remember of any other possible reason. Try recompiling the sources yourself (javac *.java).
I downloaded the java SDK 1.50_b05 and could not get it to recompile from cmd prompt
You can surely be more specific than that?
User avatar
chillaaa
Posts: 234
Joined: 16 Mar 2005, 00:12

Post by chillaaa »

Betalord wrote:if you get
Exception in thread "main" java.lang.NoClassDefFoundError: TASServer
then you obviously either don't have one of the .class files, or you are running it from a shortcut, or you are running it manually with "java TASServer.java" (which is wrong).
I can't remember of any other possible reason. Try recompiling the sources yourself (javac *.java).
I downloaded the java SDK 1.50_b05 and could not get it to recompile from cmd prompt
You can surely be more specific than that?
To address the first point; no, i am running it from the batch file lanserver.bat and i do have both tasserver.class and tasserver$1.class in the directory (BTW i redownloaded the tasserver.zip file from FU yesterday and it doesnt even have the tasserver$1.class file in it i had to pull it from another server download).

Second point; sorry about that, im a computer tech so i should know better. When i type that command in the prompt it just says that javac is not a recognised command

Update: got it to recompile, received 14 errors; 12 of which are in the TASserver.java file and still the same error when i run lanserver.bat (which for the record i have always been trying to run).
Post Reply

Return to “Help & Bugs”