eladbi / run-jetty-run

Automatically exported from code.google.com/p/run-jetty-run
0 stars 0 forks source link

NoClassDefFoundError #84

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
RJR don't work on Windows XP if Eclipse's workspace is located in "Documents 
and setting/...etc../My Documents/".
The console's output is:
"java.lang.NoClassDefFoundError: and
Caused by: java.lang.ClassNotFoundException: and
    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)
Exception in thread "main" "

For me, the reason is a too long path string and a good workaround is to move 
workspace to a folder closer to the root of the drive. 

Hope this will help...

Original issue reported on code.google.com by fr...@free.fr on 19 Jul 2011 at 8:58

GoogleCodeExporter commented 9 years ago
Which version are you using ?

I remember I have fixed one path issue on nightly . ( [Issue 70] ) 
Anyway , will double check later.

Original comment by tonylovejava on 19 Jul 2011 at 3:22

GoogleCodeExporter commented 9 years ago
I'm using the latest one: 1.2.2.1

Instead of space (issue 70), maybe is it a Classpath string's length trouble?

Original comment by fr...@free.fr on 20 Jul 2011 at 6:50

GoogleCodeExporter commented 9 years ago
The issue 70 is fixed in nightly and not in the official version yet,
I think it should be handled in Issue 70.
http://run-jetty-run.googlecode.com/svn/trunk/updatesite-nightly

For classpath issue, in my currently working enviroment ,
my classpath's length is over 60000 chars ,
and it works fine after I fixed Issue 48 in version 1.2.1. 

Original comment by tonylovejava on 20 Jul 2011 at 9:33

GoogleCodeExporter commented 9 years ago
Ok, I moved my workspace and it really works fine.

I discovered RJR when I started to work with your ZK-CDT and I will keep it for 
my other projects because it's really helpful...many thanks for your great work!

Original comment by fr...@free.fr on 21 Jul 2011 at 5:40

GoogleCodeExporter commented 9 years ago
Really ?  
That's a surprise for me since ZK-CDT is still in a very raw version. 

RJR is good enough , I don't want to use WTP anymore , lol.

And thanks for reporting issues. ;)

Original comment by tonylovejava on 21 Jul 2011 at 10:00