Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Can't start server under Eclipse

  1. #1
    Join Date
    Oct 2008
    Location
    Berlin, Germany
    Posts
    6

    Default Can't start server under Eclipse

    Hi!

    When I try to start the server under Eclipse I get the following message:
    java.lang.NoClassDefFoundError: com/springsource/platform/kernel/bootstrap/Bootstrap

    Seems that the Eclipse plugin works with the wrong package,
    it should start the class
    com/springsource/server/kernel/bootstrap/Bootstrap

    Is this a bug, or did I miss something?

    Regards!
    Thorsten

  2. #2
    Join Date
    Mar 2005
    Location
    The Netherlands
    Posts
    121

    Default

    Looks like you're using an old version of the Eclipse plugin. Please install the latest version from the following update site:
    http://static.springsource.com/proje...-server/update

    Joris

  3. #3
    Join Date
    Oct 2008
    Location
    Berlin, Germany
    Posts
    6

    Default

    You are absolutly right!

    Somehow I installed the old version, don't know how.

    Now it works, thanks.

    BTW
    It's a little bit annoying that the server is using port 2401,
    because this is normally for CVS.
    But I think, thats out of topic in this forum.

    Regards,
    Thorsten

  4. #4
    Join Date
    Aug 2004
    Location
    Duesseldorf, Germany
    Posts
    1,210

    Default

    Quote Originally Posted by thilker View Post
    BTW
    It's a little bit annoying that the server is using port 2401,
    because this is normally for CVS.
    Have you tried changing the port number in the config/server.config file? Change the following section:

    Code:
    	"osgiConsole": {
    	    "enabled": true,
    	    "port": 2401
    	}
    HTH

    Christian
    Christian Dupuis
    SpringSource, a division of VMware
    Lead, SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/cdupuis

  5. #5
    Join Date
    Oct 2008
    Location
    Berlin, Germany
    Posts
    6

    Default

    Thank you for that tip.
    I will try.

    Regards,
    Thorsten

  6. #6

    Default

    Quote Originally Posted by Joris Kuipers View Post
    Looks like you're using an old version of the Eclipse plugin. Please install the latest version from the following update site:
    http://static.springsource.com/proje...-server/update

    Joris
    Hi!

    The link shows a 403-Forbidden ;-)
    Just4Info
    cu
    Woifal

  7. #7
    Join Date
    Mar 2005
    Location
    The Netherlands
    Posts
    121

    Default

    You can ignore the 403: the link itself is not browsable, but Eclipse will be able to find the files it needs without any issues.

  8. #8

    Default Same problem java.lang.NoClassDefFoundError:com/springsource/server/kernel/bootstrap/

    Hi,

    I have the same problem trying to start the server in eclipse (java.lang.NoClassDefFoundError:com/springsource/server/kernel/bootstrap/Bootstrap) and even installing the plugin from the site above didn't fix the problem. Maybe I'm doing something else wrong. Here is what I did:

    1) I download the spring DM server - I used 1.1.2
    2) Installed the plugin using the eclipse update manager using the posted link
    3) Created a new server/runtime (SpringSource dm Server (Runtime) v1.0) in eclipse and point the server location to the DM server location
    4) Create a new server in the server view using the above runtime server
    5) Hit start server - and I get the error

    I'm using Ganymede on OS X - any ideas?

    Thanks
    Nedge

  9. #9
    Join Date
    Oct 2008
    Posts
    1

    Default me too ,thanks !

    me too ,thanks !

  10. #10

    Default Spring DM starts now - my mistake

    Ok - I found what I was doing wrong - embarrassing!

    I was downloading the Spring Dynamic Modules from Springframework as I though that was the server. I realized my mistake when I took a look at the contents and discovered there was no bin directory etc - so it doesn't look much like a server. However, I spoke to some other developers and I heard from them that I wasn't the first to walk into this. Maybe it might be a good idea to put link to the server on the modules page?

    To get the Spring DM server go to the springsource website and click on products and the rest is easy.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •