Announcement Announcement Module
Collapse
No announcement yet.
Can't start server under Eclipse Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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

    Comment


    • #3
      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

      Comment


      • #4
        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

        Comment


        • #5
          Thank you for that tip.
          I will try.

          Regards,
          Thorsten

          Comment


          • #6
            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

            Comment


            • #7
              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.

              Comment


              • #8
                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

                Comment


                • #9
                  me too ,thanks !

                  me too ,thanks !

                  Comment


                  • #10
                    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.

                    Comment


                    • #11
                      Pages updated

                      Thanks for the suggestion. I've updated the Spring Dynamic Modules for OSGi page to include a link for SpringSource dm Server. I hope that will help your fellow community members from running into the same confusion.

                      Comment

                      Working...
                      X