- This topic has 4 replies, 2 voices, and was last updated 19 years, 11 months ago by cbwhitebu.
-
AuthorPosts
-
cbwhitebuMemberI am getting an error when trying to launch JBoss 4.0 from inside Eclipse.
MyEclipse version: 3.8.4
I get the following dialog that contains the following message:
“A configuration error occured during startup. Please verify the preference field with the prompt: java.lang.NoClassDefFoundError and
Exception in thread “main””.The same message appears in the Eclipse error log:
Info Mar 08, 2005 15:02:12.214 Error starting JBoss: java.lang.NoClassDefFoundError: andException in thread “main”
JBoss starts fine from the command line.
Any ideas how to diagnose this problem?
Riyad KallaMemberPlease paste the entire log of startup messages here. Also let us know EXACTLY what your fields for JBoss 4 are set to, I’m guessing that you likely are using a path that has a space in it, so MyEclipse cannot find or execute the JBoss main method.
cbwhitebuMemberThere are no other startup message other than the error log entry I sent.
I definitely have spaces in JBoss home directory path:
C:\Documents and Settings\Chris White\My Documents\parafora\workspaces\resonant\jboss-4.0.1
I tried quoting the path but the validator for the preference setting won’t let me make this edit.
Riyad KallaMemberJust for sanity sake please try and move or copy the jboss-4.0.1 dir to c:\dev\jboss-4.0.1 then try and launch it. The “spaces in paths” issue is extremely annoying in that on some machines (mine included) it works fine when there are spaces in the paths and on others it does not work at all. Unfortunately we have been unable to tie this to a certain Windows version (2k, 2k3, XP, etc.) and/or locale, it just seems to happen for some and not others.
cbwhitebuMemberOK – I copied JBoss to a directory without spaces and the server launches without any errors.
Thank you for your help.
Hopefully, you will figure out the spaces problem.
-
AuthorPosts