facebook

Can not start JBoss 3 from MyEclipse IDE [Closed]

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #201530 Reply

    shoutstudios
    Member

    I am starting with a default install on MyEclipse 2.7RC2 with the latest version of Eclipse and JDK 1.4.1. I was able to create a deployment to JBoss after I changed my JDK location to a real JDK and not the JRE. I am now getting this error when I try to run JBoss in either debug or run mode.

    java.lang.NoClassDefFoundError: C:\j2sdk1/4\bin
    Exception in thread “main”

    My JDK directory is c:\j2sdk1.4.. it looks like it’s not liking the . in the directory name. Is this the case?

    I can start JBoss successfully from the command line.

    Any help would be appreciated

    #201535

    Riyad Kalla
    Member

    This is strange indeed… what are the exact paths under Windows->Preferences->Java->Installed JRE-> “JRE home directory”?

    Also under Win->Prefs->MyEclipse->App Serv->JBoss 3->”JBoss Home Directory”? And under “JDK” are you certain the correct JDK is selected? Any additional vm args?

    There should be no problem with the dot in the path name… what OS are you running?

    #201540

    shoutstudios
    Member

    Windows->Preferences->Java->Installed JRE-> “JRE home directory”?
    c:\j2sdk1.4

    Win->Prefs->MyEclipse->App Serv->JBoss 3->”JBoss Home Directory”?
    C:\jboss-3.2.2

    And under “JDK” are you certain the correct JDK is selected? Any additional vm args?
    Yes.. the correct JDK is selected and I am not passing in any additional VM args. The above directories match the locations on my machine and are correct as far as I can tell.

    #201541

    shoutstudios
    Member

    Sorry.. Also, I am running Windows 2000 Pro

    #201547

    Riyad Kalla
    Member

    Shout,
    This is strange indeed, I am requesting Scott/Michael take a look at this for you.

    #201556

    Scott Anderson
    Participant

    I agree with Riyad, this is peculiar. Have you tried to create a simple Java project with a class containing a main method and tried launching that using the normal Eclipse debugger launch mechanism using the same JDK? Does that work? I’ve never seen Windows balk at a path with a ‘.’ in it.

    –Scott
    MyEclipse Support

    #225941

    dhuriet
    Member

    I have the same problem… Any progress on the subject ??
    I configured JBoss Home Directory : C:\Program Files\jboss-4.0.1sp1
    and the error message when trying to start JBoss from the Eclipse IDE is :
    “Could not find the main class. Program will exit.”
    and in the console :
    “java.lang.NoClassDefFoundError: Files\jboss-4/0/1sp1\lib\endorsed
    Exception in thread “main” ”

    Any solution found today ?
    Thanks in advance…

    Damien

    #225949

    Riyad Kalla
    Member

    “java.lang.NoClassDefFoundError: Files\jboss-4/0/1sp1\lib\endorsed

    The space in your path “Program Files” is the problem, note that the “NoClassDef” error is showing you half of your path and thinks it is a class name. Reinstall JBoss to a location without a space in the path.

    #226264

    yyht
    Member

    ok

    #232194

    dervre
    Member

    Thank you support-rkalla!!!!!!!!!!!!!!!!!!!!!!!

    You just saved me hours and hours of headaches on that one!!

    Derek.

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: Can not start JBoss 3 from MyEclipse IDE [Closed]

You must be logged in to post in the forum log in