Author |
Message |
Guest
Offline
|
Posted: Thu Dec 28, 2006 3:18 pm Post subject: problem logging in with NEW TWCore |
 |
|
|
|
When I run runbots.bat I get this error that just keeps going until i close the .exe
C:\twcore-0.9>java -Xmx386m -cp twcore.jar;googleapi.jar;mysql-connector-java-3.
1.10-bin.jar twcore.core.Start
Exception in thread "main" java.lang.NoClassDefFoundError: twcore/core/util/Inte
rProcessCommunicator
at twcore.core.CoreData.<init>(CoreData.java:35)
at twcore.core.Start.startHub(Start.java:42)
at twcore.core.Start.main(Start.java:23)
C:\twcore-0.9>GOTO Start
C:\twcore-0.9>java -Xmx386m -cp twcore.jar;googleapi.jar;mysql-connector-java-3.
1.10-bin.jar twcore.core.Start
Exception in thread "main" java.lang.NoClassDefFoundError: twcore/core/util/Inte
rProcessCommunicator
at twcore.core.CoreData.<init>(CoreData.java:35)
at twcore.core.Start.startHub(Start.java:42)
at twcore.core.Start.main(Start.java:23)
C:\twcore-0.9>GOTO Start
C:\twcore-0.9>java -Xmx386m -cp twcore.jar;googleapi.jar;mysql-connector-java-3.
1.10-bin.jar twcore.core.Start
Exception in thread "main" java.lang.NoClassDefFoundError: twcore/core/util/Inte
rProcessCommunicator
at twcore.core.CoreData.<init>(CoreData.java:35)
at twcore.core.Start.startHub(Start.java:42)
at twcore.core.Start.main(Start.java:23)
C:\twcore-0.9>GOTO Start
C:\twcore-0.9>java -Xmx386m -cp twcore.jar;googleapi.jar;mysql-connector-java-3.
1.10-bin.jar twcore.core.Start
Exception in thread "main" java.lang.NoClassDefFoundError: twcore/core/util/Inte
rProcessCommunicator
at twcore.core.CoreData.<init>(CoreData.java:35)
at twcore.core.Start.startHub(Start.java:42)
at twcore.core.Start.main(Start.java:23)
C:\twcore-0.9>GOTO Start
C:\twcore-0.9>java -Xmx386m -cp twcore.jar;googleapi.jar;mysql-connector-java-3.
1.10-bin.jar twcore.core.Start
Exception in thread "main" java.lang.NoClassDefFoundError: twcore/core/util/Inte
rProcessCommunicator
at twcore.core.CoreData.<init>(CoreData.java:35)
at twcore.core.Start.startHub(Start.java:42)
at twcore.core.Start.main(Start.java:23)
Any idea?
Thanks |
|
Back to top |
|
 |
Bak ?ls -s 0 in

Age:26 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
Posted: Thu Dec 28, 2006 3:21 pm Post subject: |
 |
|
|
|
looks like it can't find the class "twcore/core/util/InterProcessCommunicator"
do you have the InterProcessCommunicator.class file in the twcore/core/util/ directory? _________________ SubSpace Discretion: A Third Generation SubSpace Client |
|
Back to top |
|
 |
Guest
Offline
|
Posted: Thu Dec 28, 2006 3:36 pm Post subject: |
 |
|
|
|
yes  |
|
Back to top |
|
 |
Maverick

Age:41 Gender: Joined: Feb 26 2005 Posts: 1521 Location: The Netherlands Offline
|
Posted: Thu Dec 28, 2006 5:22 pm Post subject: |
 |
|
|
|
but you haven't compiled it. Try rebuilding the core. _________________
|
|
Back to top |
|
 |
Bak ?ls -s 0 in

Age:26 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
Posted: Thu Dec 28, 2006 5:38 pm Post subject: |
 |
|
|
|
the .class IS the compiled file. The .java file is the uncompiled one.
Out of what directory are you running the .bat file out of (with relation to the .class file's directory)? |
|
Back to top |
|
 |
D1st0rt Miss Directed Wannabe

Age:37 Gender: Joined: Aug 31 2003 Posts: 2247 Location: Blacksburg, VA Offline
|
Posted: Fri Dec 29, 2006 4:16 am Post subject: |
 |
|
|
|
What is the size of your twcore.jar?
I don't think it can find compiled core classes in their folders _________________
 |
|
Back to top |
|
 |
Maverick

Age:41 Gender: Joined: Feb 26 2005 Posts: 1521 Location: The Netherlands Offline
|
Posted: Fri Dec 29, 2006 6:47 am Post subject: |
 |
|
|
|
Bak wrote: | the .class IS the compiled file. The .java file is the uncompiled one. | I'm not a moron, Bak.
The NoClassDefFoundError means that java can't find the specified class file(s). |
|
Back to top |
|
 |
Bak ?ls -s 0 in

Age:26 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
Posted: Fri Dec 29, 2006 10:03 am Post subject: |
 |
|
|
|
Bak wrote: | do you have the InterProcessCommunicator.class file in the twcore/core/util/ directory? |
Maverick wrote: | but you haven't compiled it. | don't take it so personally
You can extract the .jar file in search of class files using 7zip or "jar x <jarfile>" if you have the jar utility. |
|
Back to top |
|
 |
Guest
Offline
|
Posted: Fri Dec 29, 2006 5:42 pm Post subject: |
 |
|
|
|
twcore.jar is 40 KB
the .bat file is in twcore-0.9 and the InterProcessCommunicator.class file is in twcore-0.9\twcore\core\util right where it is looking for it at. I just d/l'ed the precompiled bots and extracted them, then compiled them. |
|
Back to top |
|
 |
D1st0rt Miss Directed Wannabe

Age:37 Gender: Joined: Aug 31 2003 Posts: 2247 Location: Blacksburg, VA Offline
|
Posted: Sat Dec 30, 2006 6:09 pm Post subject: |
 |
|
|
|
Anonymous wrote: | twcore.jar is 40 KB |
That would appear to be your problem right there, it's most likely missing those classes because the size should be in the 160-170KB range. Try either rebuilding or getting the jar from the precompiled distribution. |
|
Back to top |
|
 |
Guest
Offline
|
Posted: Sun Dec 31, 2006 10:23 am Post subject: |
 |
|
|
|
Yes I got it to actually build last night, I can't remember what I did to get it to work but its 189 KB now. But now it is giving me wrong password error and I KNOW the password is right. I even tried another username/password (very simple password) and it still gives the same error. |
|
Back to top |
|
 |
D1st0rt Miss Directed Wannabe

Age:37 Gender: Joined: Aug 31 2003 Posts: 2247 Location: Blacksburg, VA Offline
|
Posted: Sun Dec 31, 2006 2:36 pm Post subject: |
 |
|
|
|
189 is a good size, that's probably with debug information included. I'm going to see if I can recreate that problem because I've had other people tell me about it. I'll be able to start on Tuesday  |
|
Back to top |
|
 |
D1st0rt Miss Directed Wannabe

Age:37 Gender: Joined: Aug 31 2003 Posts: 2247 Location: Blacksburg, VA Offline
|
Posted: Thu Jan 04, 2007 8:12 pm Post subject: |
 |
|
|
|
Not to double post or anything but I may have found a solution depending on the cause of your problem. Could you provide some way to be contacted in-game so I can talk to you about it? |
|
Back to top |
|
 |
|