.63b2 Lan Server Error
Moderator: Moderators
- LocalFiend
- Posts: 26
- Joined: 17 Sep 2005, 03:13
.63b2 Lan Server Error
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
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
-
- Posts: 111
- Joined: 23 Jan 2005, 00:09
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
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
-
- Posts: 854
- Joined: 28 Jan 2005, 18:15
- LocalFiend
- Posts: 26
- Joined: 17 Sep 2005, 03:13
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.
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.
- LocalFiend
- Posts: 26
- Joined: 17 Sep 2005, 03:13
- LocalFiend
- Posts: 26
- Joined: 17 Sep 2005, 03:13
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.
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
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
- LocalFiend
- Posts: 26
- Joined: 17 Sep 2005, 03:13
- LocalFiend
- Posts: 26
- Joined: 17 Sep 2005, 03:13
if you get
I can't remember of any other possible reason. Try recompiling the sources yourself (javac *.java).
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).Exception in thread "main" java.lang.NoClassDefFoundError: TASServer
I can't remember of any other possible reason. Try recompiling the sources yourself (javac *.java).
You can surely be more specific than that?I downloaded the java SDK 1.50_b05 and could not get it to recompile from cmd prompt
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).Betalord wrote:if you getthen 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).Exception in thread "main" java.lang.NoClassDefFoundError: TASServer
I can't remember of any other possible reason. Try recompiling the sources yourself (javac *.java).
You can surely be more specific than that?I downloaded the java SDK 1.50_b05 and could not get it to recompile from cmd prompt
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).