Installing STS into Eclipse 3.5

Christian Dupuis

Today marks a big day for Eclipse and for everybody involved with the Eclipse ecosystem: Congratulations to the Eclipse folks for releasing Eclipse 3.5 aka Galileo. You can read more about the release at http://www.eclipse.org/galileo/. I encourage everybody to download Eclipse 3.5 today and try it out.

[ Editor's Note: STS 2.1.0.RC1, which includes full packaged distributions based on both Eclipse 3.4 and 3.5, for all supported operating systems, was released on June 26th. Downloading the packaged distro is now the easiest way to get going with STS in an Eclipse 3.5 based environment. ]

Since SpringSource is strongly committed to Eclipse and we are building our SpringSource Tool Suite on top of the Eclipse technology stack, I'm excited to report that STS can be installed and used with 3.5. Here are some instructions to get started:

  1. Download and install the "Eclipse IDE for Java EE Developers" package
  2. Disable all pre-configured update sites on the "Install/Update -> Available Software Sites" page from the Eclipse preferences
  3. Import the linked update site bookmark file into your Eclipse. This will configure all the nightly snapshot update sites for STS you'll need. Use the "Import…" button on the "Install/Update -> Available Software Sites" page from the Eclipse preferences
  4. Install all features from the update site labeled "AJDT" and restart
  5. Install at least the Jira Connector feature from the update site labeled "Mylyn Extras" and restart
  6. Install all features from the update site labeled "Spring IDE Update Site" and restart
  7. Install all features from the update site labeled "SpringSource dm Server Tools Update Site" and restart
  8. Install all features from the update site labeled "SpringSource Tool Suite Update Site" and restart
  9. Enjoy STS in Eclipse 3.5

I hope that you find these steps helpful. If you encounter any installation problems following the instructions feel free to raise a JIRA.

We'll release STS 2.1.0.RC1 based on Eclipse 3.4 and 3.5 very soon. So stay tuned. Oh, before I forget: STS is free!

Update: Added another step to disable all pre-configured update sites before importing and installing. Also fixed a setting in the bookmark file.

Similar Posts

Share this Post
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • DZone
  • LinkedIn
  • Slashdot
  • Technorati
  • TwitThis
 

56 responses


  1. I love the fact that you have converged STS into a nicely developed way to import it into the binary download from Eclipse! I originally used the nice Spring IDE plugins on Eclipse. Then I saw the nice additional features that came with STS's binary download, along with utilizing the plugins targeted for Eclipse. It is nice seeing this come full circle, where we can download the latest Eclipse, and then import the STS modules. Well done!


  2. It'd be nice if this actually worked:

    I get:
    No repository found containing: osgi.bundle,org.springframework.osgi.io,1.2.0.rc1_v200906161300


  3. Neale, STS does not have a dependency to org.springframework.osgi.io so I suspect that P2 is dragging this bundle in. Can you please disable all the other updates before importing the update site bookmarks file.

    I just tested the steps again and it works fine!

    Let me know if that helps.

    Christian


  4. Is the tutorials section on the "STS Dashboard" supposed to have anything in it? I got everything installed just fine (Christian is right Neale–disable everything but the AJDT Site and it'll install), but there is just an empty spot under STS Tutorials.


  5. Hi Christian,

    you should mention that the update site in the bookmark file points to the 2.1.0 nightly build of STS, not to the GA version :-)

    Greetings,
    Sascha


  6. Hello, Christian.
    Thanks for the instructions. I followed it and succeeded until the number 6.

    When I tried the number 7, I got the following error messages.

    Cannot complete the install because one or more required items could not be found.
    Software being installed: SpringSource Tool Suite VMware Integration 2.1.0.200906240800-CI-R3246-B289 (com.springsource.sts.vmware.feature.group 2.1.0.200906240800-CI-R3246-B289)
    Missing requirement: SpringSource Tool Suite VMware Integration 2.1.0.200906240800-CI-R3246-B289 (com.springsource.sts.vmware.feature.group 2.1.0.200906240800-CI-R3246-B289) requires 'org.eclipse.mylyn.commons.soap [3.2.0,4.0.0)' but it could not be found

    Regards,
    Kevin


  7. @Sascha: thanks, I forgot to mention that. I'll update the post accordingly.

    @Kevin: somehow P2 did not automatically install the Mylyn JIRA Connector for you. Please do that manually from the Mylyn Extras update site and retry.

    @Nick: if you install all the features on the STS update site, you should see some tutorials on the dashboard. Just went through the instructions and I end up with the tutorials. Can you check if you have a feature called 'com.springsource.sts.tutorials' installed?

    Christian


  8. I'm sorry. When I disabled the pre-configured update sites, I disabled 'Mylyn Extras' one as well by mistake. I could eventually install STS after enabling it again. Thank you. :)

    However, there is one thing really bothers me. I understand that I have to disable the other update sites than STS's one before installing STS, yet after installing STS or after adding the STS update sites bookmark, I have to disable like that even to install plug-ins other than STS. Otherwise, I get the following error messages.

    An error occurred while collecting items to be installed
    session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Collect, operand=, action=).
    No repository found containing: osgi.bundle,net.sf.cglib,2.1.3.v200906051230
    No repository found containing: osgi.bundle,org.eclipse.hyades.probekit,4.2.500.v200906041936
    No repository found containing: osgi.bundle,org.eclipse.mylyn.commons.soap,3.2.0.v20090617-0100-e3x
    No repository found containing: osgi.bundle,org.eclipse.mylyn.jira.core,3.2.0.v20090617-0100-e3x
    No repository found containing: osgi.bundle,org.eclipse.mylyn.jira.ui,3.2.0.v20090617-0100-e3x
    No repository found containing: osgi.bundle,org.eclipse.tptp.platform.integration.pde,4.4.100.v200901090100
    No repository found containing: osgi.bundle,org.springframework.aop,2.5.6.v200906051230
    No repository found containing: osgi.bundle,org.springframework.beans,2.5.6.v200906051230
    No repository found containing: osgi.bundle,org.springframework.context,2.5.6.v200906051230
    No repository found containing: osgi.bundle,org.springframework.core,2.5.6.v200906051230
    No repository found containing: osgi.bundle,org.springframework.osgi.core,1.2.0.rc1_v200906051230
    No repository found containing: osgi.bundle,org.springframework.osgi.io,1.2.0.rc1_v200906051230

    I disabled those pre-configured sites one by one and found that it happens when http://download.eclipse.org/releases/galileo is enabled.

    I'm just wondering if there is any better way to solve this problem than disabling it, because if a plug-in requires some dependency in the Galileo update site then, I guess, it may cause a problem which prevent me from installing the plug-in.

    Regards,
    Kevin


  9. Aha… was step 2 there the first time I read this … ;-)

    It was still a pain (I had to re-enable a site, install GEF/Zest feature, which could be something hanging around, or could be P2 struggling with the ridiculous Facetime defaults that it's idea of 'productivitity' means blocking a number of eclipse mirror sites).

    The whole promise of P2 was surely to allow this to be a one step process, and dare I say it, only require "Apply" (OSGi style), rather than a restart, let alone multiple restarts.

    I do hope that Spring are pressing the P2 team to make the 'dream' a reality.


  10. followed your instructions and this happens during stage 4:

    An error occurred while collecting items to be installed
    session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Collect, operand=, action=).
    Artifact not found: org.eclipse.update.feature,org.eclipse.contribution.weaving.source,2.0.0.e35x-20090624-1600.
    http://download.eclipse.org/tools/ajdt/35/dev/update/features/org.eclipse.contribution.weaving.source_2.0.0.e35x-20090624-1600.jar
    Artifact not found: org.eclipse.update.feature,org.eclipse.equinox.weaving,1.0.0.200906171200.
    http://download.eclipse.org/tools/ajdt/35/dev/update/features/org.eclipse.equinox.weaving_1.0.0.200906171200.jar


  11. Ben, that might be solved if you disable http://download.eclipse.org/releases/galileo

    Or as Christian said, you need to disable all the pre-configured (default) update sites belong to Galileo first.

    I guess you'd better try the former one first then try the latter one.

    Regards,
    Kevin


  12. Ben, there seems to be a problem with the AJDT update site. I will reach out the Andy and Andrew to get that fixed. In the meantime change the AJDT update site URL to http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/tools/ajdt/35/dev/update. That should get you going again.

    Christian


  13. @Kevin: thanks, but I'd done that in stage 2

    @Chrisian: awesome dude, worked a treat. I'm now doing stage 9!


  14. For anyone wondering about Maven support, you can still use m2e 0.9.8 as was bundled with STS 2.1.0M2. It seems to be behaving (the same as before that is ;) ) for me. You'll just need to add in the contributing update sites from 2.1.0 (i.e. for Maven, EclEmma, PMD)

    And, if you don't like the Galileo spash screen just change the entry in you eclipse.ini to:
    -showsplash
    com.springsource.sts


  15. Thanks for the setup guide.
    Install directions worked great.


  16. Hi Christain,

    Thanks for the info, however, I am having problems installing Spring IDE OSGi Extension (optional) 2.2.5.200906262107-CI-R3335-B384

    I get the following

    Cannot complete the install because one or more required items could not be found.
    Software being installed: Spring IDE OSGi Extension (optional) 2.2.5.200906262107-CI-R3335-B384 (org.springframework.ide.eclipse.osgi.feature.feature.group 2.2.5.200906262107-CI-R3335-B384)
    Missing requirement: Spring Dynamic Modules for OSGi(tm) Service Platforms Target Definition 2.2.5.200906262107-CI-R3335-B384 (org.springframework.ide.eclipse.osgi.targetdefinition 2.2.5.200906262107-CI-R3335-B384) requires 'bundle org.eclipse.pde.core 0.0.0' but it could not be found
    Cannot satisfy dependency:
    From: Spring IDE OSGi Extension (optional) 2.2.5.200906262107-CI-R3335-B384 (org.springframework.ide.eclipse.osgi.feature.feature.group 2.2.5.200906262107-CI-R3335-B384)
    To: org.springframework.ide.eclipse.osgi.targetdefinition [2.2.5.200906262107-CI-R3335-B384]

    Thanks


  17. @Yomi,

    can you please try again. I just tried it and it works for me. The error that you are seeing is usually caused by the update site not being uploaded completely which happens if you try to install right in the middle of the snapshot build (around 9pm CET).

    Let me know if it works now.

    Christian


  18. Hi Christian,

    It appears that thew new STS download for Mac OS X Cocoa may be broken. After unzipping STS 2.1.0.RC1 ( as announced by Adam Fitzgerald here: http://www.springsource.org/node/1670 ), I get the following error/dialog window:

    "An error has occurred."

    "See the log file
    /Users/sbrannen/Downloads/springsource/sts-2.1.0.RC1/configuration/1246271420558.log."

    Please note that I did exactly the following:
    1) downloaded springsource-tool-suite-2.1.0.RC1-e3.5-macosx-cocoa.tar.gz
    2) verified the md5 signature
    3) unzipped/untarred the .tar.gz file
    4) double-clicked the Eclipse icon (the one with the STS logo)

    I'll paste the contents of this file below.

    Any thoughts?

    Thanks,

    Sam

    ——————————————————–
    Contents of 1246271420558.log:

    !SESSION 2009-06-29 12:30:20.305 ———————————————–
    eclipse.buildId=I20090611-1540
    java.version=1.5.0_16
    java.vendor=Apple Inc.
    BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US
    Framework arguments: -product com.springsource.sts.ide -keyring /Users/sbrannen/.eclipse_keyring -showlocation
    Command-line arguments: -os macosx -ws cocoa -arch x86 -product com.springsource.sts.ide -keyring /Users/sbrannen/.eclipse_keyring -showlocation

    !ENTRY org.eclipse.osgi 4 0 2009-06-29 12:30:20.761
    !MESSAGE Bundle reference:file:org.eclipse.equinox.simpleconfigurator_1.0.100.v20090520-1905.jar@1:start not found.

    !ENTRY org.eclipse.osgi 4 0 2009-06-29 12:30:20.768
    !MESSAGE Application error
    !STACK 1
    java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)


  19. FYI: STS 2.1.0.RC1 for Mac OS X Cocoa works fine. Just make sure you unzip the .tar.gz with an appropriate tool (e.g., not The Unarchiver). ;)

    Thus please disregard my previous comment.

    Cheers,

    Sam


  20. On step 4 unselect "Group items by category", otherwise you won't see the items to install.


  21. Hi,
    After step 6 following error appears in .log:
    ===
    !ENTRY org.eclipse.equinox.p2.metadata.repository 2 0 2009-07-01 07:00:56.460
    !MESSAGE Error parsing metadata repository
    !SUBENTRY 1 org.eclipse.equinox.p2.core 2 0 2009-07-01 07:00:56.461
    !MESSAGE Error at line 3617, column 90: Illegal value for attribute "range" of element "required": [0.0.0,0.0.0)
    ===

    As result: there is no Spring IDE features; installed previously AJ and Mylyn JIRA connector disabled…
    Eclipse J2ee 3.5, empty clean workspace and configuration.


  22. In Galileo I go to preferences…install/update..available software and disable everything except AJDT. I click Test Connect and it says, "http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/tools/ajdt/35/dev/update is available". So I click OK.. OK to exit. Then I go to Help…Install New Software…Work with: AJDT. But the "next" button is disabled. The only button enabled is "cancel". So I can't proceed any further to install AJDT.
    I'm using ubuntu 9.04 under VMWare.


  23. I'm using eclipse 3.4 but can't seem to get past Spring IDE Update Site installation. Here's the error message:

    Cannot complete the request. See the details.
    Cannot find a solution satisfying the following requirements org.apache.commons.lang [2.1.0.v200709131643].

    Please advise.

    Thanks


  24. I just completed the installation of STS 2.1.0 RC1 into Eclipse Galileo. The only trouble I had was that there was an error that said I needed to install PMD, which I then did. There was another error that said I had to install GEF/ZEST, which I also did (there was a comment about this one that helped). I don't know what the problem was that I originally commented on (trouble installing AJDT)… it installed this time okay (a week after the first attempt).
    First thing I did after installing was go to Help and click on STS dashboard. Wow, am I impressed by all those tutorials!
    I was losing confidence in Spring because the complexity was beginning to seem unmanageable. It was hard for me to accept that annotations were going to replace XML. But with this free STS and with ROO, my confidence in Spring is returning, and I am accepting (after resisting for quite a while) the advantages of annotations. Great job Spring!


  25. I got a problem when I try to install all the features from the update site labeled "Spring IDE Update Site" (step 5). I installed "the Spring IDE Core" and the "Extensions (Incubation) / Spring II" features, but the rest of them ask me for requeriments that are not installed yet.
    I tried installing all the features in the subsecuent steps and got the same error.


  26. Hi,

    For me almost everything is fine. I just got a problem with tutorials. With the original Galileo update sites disabled or not, I get the same result when trying to install tutorials and/or tutorials authoring:

    Cannot complete the install because one or more required items could not be found.
    Software being installed: SpringSource Tool Suite Tutorials 2.1.0.200907160832-CI-R3407-B322 (com.springsource.sts.tutorials.feature.group 2.1.0.200907160832-CI-R3407-B322)
    Missing requirement: SpringSource Tool Suite Tomcat Integration 2.1.0.200907160832-CI-R3407-B322 (com.springsource.sts.ide.tomcat 2.1.0.200907160832-CI-R3407-B322) requires 'bundle com.springsource.sts.server.tomcat 0.0.0' but it could not be found
    Cannot satisfy dependency:
    From: SpringSource Tool Suite Tutorials 2.1.0.200907160832-CI-R3407-B322 (com.springsource.sts.tutorials.feature.group 2.1.0.200907160832-CI-R3407-B322)
    To: com.springsource.sts.ide.tomcat [2.1.0.200907160832-CI-R3407-B322]

    Everything else installed without any problems, but I really wanted to check out those tutorials.

    Thanks for any help,

    Darek


  27. Hello,

    OK, I made a fresh install now and the tutorials (as all the rest) installed corectly.

    Cheers,

    Darek


  28. While doing step 5 I was getting error using eclipse 3.5 GALLELIO.

    To resolve that after installing the "AJDT", you should go to
    your Eclipse Eclipse/eclipse configuration file add this parameter
    -clean

    restart and then proceed.

    I read this


  29. Hi,

    Unzipped Galileo to WinXP C:\
    and I get the following logged:
    Although the log refers to config.ini, no such file exists in the extract

    !SESSION 2009-08-17 14:13:17.281 ———————————————–
    eclipse.buildId=unknown
    java.version=1.6.0_16
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_AU
    Framework arguments: -product org.eclipse.epp.package.jee.product
    Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product

    !ENTRY org.eclipse.osgi 4 0 2009-08-17 14:13:18.172
    !MESSAGE Application error
    !STACK 1
    java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)


  30. @Craig: What did you use to extract the download. Please note that the Windows build-in ZIP program causes problems with some Eclipse downloads. Please re-try with the free 7-zip program.

    Christian


  31. Hello,

    On my Mac, I am having difficulty getting past install step 4, 'Install all features from the update site labeled "AJDT" and restart', since restarting STS gets the following error… I have tried both the carbon and cocoa builds. What am I doing wrong?

    !SESSION Tue Aug 18 22:35:51 EDT 2009 ——————————————
    !ENTRY org.eclipse.equinox.launcher 4 0 2009-08-18 22:35:51.588
    !MESSAGE Exception launching the Eclipse Platform:
    !STACK
    java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:556)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

    - Tosh


  32. Hi,

    I made a fresh install and i determined different workspace address. While second starting of STS, it does not ask to choose workspace and it creates default workspace as a new one.


  33. Hi,

    I get the following error on MAC while processing step 5:

    An error occurred while collecting items to be installed
    session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Collect, operand=, action=).
    No repository found containing: osgi.bundle,javax.servlet,2.4.0.v200806031604
    No repository found containing: osgi.bundle,javax.wsdl,1.6.2.v200806030405
    No repository found containing: osgi.bundle,org.eclipse.mylyn.commons.soap,3.2.0.v20090617-0100-e3x
    No repository found containing: osgi.bundle,org.eclipse.mylyn.jira.core,3.2.1.v20090722-0200-e3x
    No repository found containing: osgi.bundle,org.eclipse.mylyn.jira.ui,3.2.1.v20090722-0200-e3x
    No repository found containing: org.eclipse.update.feature,org.eclipse.mylyn.jira_feature,3.2.1.v20090722-0200-e3x

    Alson I can't install springsource-tool-suite-2.1.0.SR01-e3.5-macosx-carbon-installer.dmg because of the following error;

    java.lang.RuntimeException: Instruction unknown: load?nstruction
    at com.sun.org.apache.bcel.internal.util.InstructionF inder.mapName(InstructionFinder.java:138)
    at com.sun.org.apache.bcel.internal.util.InstructionF inder.compilePattern(InstructionFinder.java:170)


  34. I'm having a similar problem to Tosh. I installed 2.1.0 SR01 using the official STS installer with Groovy tooling for Mac OS X Cocoa 64-bit. Then I installed Subversive connector. Upon restarted STS, I get an error message that tells me to check the log, the log says "java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter"


  35. This is a common problem with open source – and Java / Spring apps – the installs do not work RELIABLY!

    Everyone wonders why MS has such a good market penetration – it is simply because you can install it and it works

    I have got the latest Gallleo build, and followed the install instructions above – but the last part fails

    Cannot complete the install because one or more required items could not be found.
    Software being installed: SpringSource Tool Suite (required) 2.2.0.200910090800-CI-R3877-B419 (com.springsource.sts.feature.group 2.2.0.200910090800-CI-R3877-B419)
    Missing requirement: SpringSource Tool Suite (required) 2.2.0.200910090800-CI-R3877-B419 (com.springsource.sts.feature.group 2.2.0.200910090800-CI-R3877-B419) requires 'org.eclipse.mylyn.context_feature.feature.group [3.3.0.I20091008,3.4.0)' but it could not be found

    Dependency resolution is simply a PAIN in the butt with Java (I love Java, I am a Java developer – but it is a pain in the butt) – why can we not have common repositories that are maintained and COMPLETE – i.e why is this not published to the eclipse plugins location so it can work find what it needs?
    And why do you have 4 separate plugins to install – why not have a wrapper plugin that installs all the ones it needs – it is not hard to make this simple and reliable – I frequently end up having to fight eclipse plugins to get them to work correctly ;-(


  36. Hi,

    I'm wondering if you can help me with STS install.

    I've installed 3.5, and I'm working through the steps you've listed above, except I get stuck on number 7:

    7.Install "SpringSource dm Server Tools Update Site" and restart.

    Errors: Cannot complete the install because one or more required items could not be found.
    Software being installed: SpringSource Tool Suite Tutorials 2.2.0.200910090800-CI-R3877-B419
    Cannot satisfy dependency: etc…

    I seen that someone had similar case; however, I did successfully install the Mylyn JIRA Connector, or at least my updates says it was installed.

    Any suggestions?
    Thank you


  37. Hi,

    Does this install work form 3.5.1?

    I'm getting errors whenever I try to use the SpringSource ToolSuite Update Site.

    Thanks


  38. @Nick: I agree completely. I always think I'm too stupid and glad that others run into the same problems.

    @Nick, @John: For me worked uninstalling all Mylyn related stuff and reinstalling the Weekly, see
    http://download.eclipse.org/tools/mylyn/update/weekly/e3.4 and http://download.eclipse.org/tools/mylyn/update/weekly/extras. Then retry the Step 8.


  39. @John, @Pit – I avoided / side stepped the problem by downloading the STS tool set pre configured download
    http://www.springsource.com/products/springsource-tool-suite-download

    The is cheating I know – but it gets me up and running on Roo fast as I need to evaluate this for some up coming work I need to do.

    I love the concept of Roo – generating the code and using AspectJ to hide the implementation is very smart.
    Keep up the good work.

    Nick


  40. I've already had the STS ide downloaded, but I think it's much slower than the regular eclipse 3.5. That's why I thought the plug-in would work better.

    I did manage to get STS installed into 3.5. Yes!!! Finally. Now I can get to work. I must have tried over 15 times with different things, but hey I got it.

    Thanks for the feedback.


  41. Hi,

    I was wondering if you can tell me the best way add the .jar and libraries that contain the correct Spring .jars and such?

    When creating my web project I need the web-mvc and such jars from Spring, but I never know which ones, so I end up putting every Spring .jar into a user library and add it to the project.

    This is too many though, and I was wondering if springsource has some type of pre-configured libraries like spring-web-libray where it contains all you need?

    Any feedback would be greatly appreciated.


  42. Hmmm… still doesn't work. And, yes, I disabled all the update before importing the XML file.

    Update has encountered a problem.

    An error occurred while uninstalling (why would be be "uninstalling" anything?)

    session context was: (profile=epp.package.jee.phase=org.eclipse.equinox.internal \
    .provisional.p2.engine.phases.Uninstall, \
    operand=[R]org.springframework.ide.eclipse.ajdt.feature.source.feature.jar \
    2.2.6.200908051215-RELEASE –> [R]org.springframework.ide.eclipse.ajdt.feature.source \
    .feature.jar 2.2.7.200910142111-CI-R3465-B502, action=org.eclipse.equinox.internal.p2 \
    .touchpoint.eclipse.actions.UninstallFeatureAction).


  43. Yes, I realize that my problem is closely related to the others here, but not exactly. Perhaps because I'm running on openSuSE? Shouldn't be different I don't think.


  44. Hi, I'm trying to setup STS within Eclipse 3.5. I'm having all sorts of errors from the plugin installation. I tried to do step 5 (AJDT)…below was what I got following steps on this page. Please advise.

    An error occurred while collecting items to be installed
    session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Collect, operand=, action=).
    Artifact not found: org.eclipse.update.feature,org.eclipse.ajdt,2.0.2.e35x-20091014-0900.
    http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/tools/ajdt/35/dev/update/features/org.eclipse.ajdt_2.0.2.e35x-20091014-0900.jar
    Artifact not found: org.eclipse.update.feature,org.eclipse.ajdt.source,2.0.2.e35x-20091014-0900.
    http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/tools/ajdt/35/dev/update/features/org.eclipse.ajdt.source_2.0.2.e35x-20091014-0900.jar
    Artifact not found: org.eclipse.update.feature,org.eclipse.equinox.weaving,1.0.0.200906171200.
    http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/tools/ajdt/35/dev/update/features/org.eclipse.equinox.weaving_1.0.0.200906171200.jar
    Artifact not found: org.eclipse.update.feature,org.eclipse.equinox.weaving.source,1.0.0.200906171200.
    http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/tools/ajdt/35/dev/update/features/org.eclipse.equinox.weaving.source_1.0.0.200906171200.jar


  45. Hi.

    I've followed all the steps from the "Installing STS in to Eclipse 3.5" but, I can't complete the install because…

    Cannot complete the install because one or more required items could not be found.
    Software being installed: SpringSource Tool Suite (required) 2.2.0.200910130800-CI-R3905-B423 (com.springsource.sts.feature.group 2.2.0.200910130800-CI-R3905-B423)
    Missing requirement: SpringSource Tool Suite (required) 2.2.0.200910130800-CI-R3905-B423 (com.springsource.sts.feature.group 2.2.0.200910130800-CI-R3905-B423) requires 'org.eclipse.mylyn_feature.feature.group [3.3.0.I20091008,3.4.0)' but it could not be found

    Some one knows where can I found the 'org.eclipse.mylyn_feature.feature.group [3.3.0.I20091008,3.4.0)', or what I must do?

    Any suggestions?
    Thank you in advance.

    Jordi.


  46. @Jordi,

    I had some probelms too.

    This is what I did to finally get it up and running:

    First of all make sure you have Eclipse "3.5.0" installed. If you use 3.5.1 it doesn't work because STS doesn't work with 3.5.1 yet "to my understanding".

    So you'll need to find the download for Eclipse 3.5.0. EE.

    Then, after installed, go in and disable all the current plug-ins.

    Now import the file that Christian put a link to up top in the tuturial. The first thing I did was add this mylin link: http://download.eclipse.org/tools/mylyn/update/weekly/extras

    From here I downloaded the PMD, and after that continue on with step 4. This worked for me.

    Let me know if it doesn't and I'll just paste all the links to add.


  47. Yes, I did that a couple of times and still couldn't get cooperation out of the update component. I read elsewhere on the web that it's more trouble than it's worth to attempt to upgrade Eclipe to host Spring. So, I went to http://www.springsource.com/products/eclipse-downloads and just downloaded STS. It seems to work okay so far, though I haven't yet had the time to do much with it.

    I'm tempted to moan about Eclipse's update component, but as I've never been able to understand it, I just hold my tongue and pray I'm always able to work my way through problems. Seems like it should be less trouble, though. And I'm not just talking about this Spring experience either.

    Thanks,

    Russ


  48. In order to install STS as an add-in. The mylyn update sites needs to be updated to include:

    http://download.eclipse.org/tools/mylyn/update/weekly/e3.4 and http://download.eclipse.org/tools/mylyn/update/weekly/extras

    Using these sites makes the update work like a dream.


  49. The sts-update-sites.xml file linked from the "update site bookmark file" link in the instructions contains three separate update sites for the Spring components:
    – Spring IDE Update Site
    – SpringSource dm Server Tools Update Site
    – SpringSource Tool Suite Update Site

    Using these sites, the SpringSource STS Extensions plugin did not include the Grails extension.

    Can these three sites be replace with just the http://www.springsource.com/update/e3.4 update site (or the Milestone or Nightly equivalent)?


  50. Any instructions for new users? These might make sense to the pros, but I'm lost. How do I cause it to update?

    I made it to step 4, all I see is 'Test Connection', etc..

    Thanks


  51. Hi,

    I have downloaded STS and using it. How can i view the tutorials? 'com.springsource.sts.tutorials' is installed.

    Thanks

    Anil


  52. Hi,

    I get the following when trying to do step 6:

    Cannot complete the install because one or more required items could not be found.
    Software being installed: Spring IDE Core (required) 2.2.8.200911032109-CI-R3472-B522 (org.springframework.ide.eclipse.feature.feature.group 2.2.8.200911032109-CI-R3472-B522)
    Missing requirement: Spring IDE Core (required) 2.2.8.200911032109-CI-R3472-B522 (org.springframework.ide.eclipse.feature.feature.group 2.2.8.200911032109-CI-R3472-B522) requires 'org.eclipse.wst.xml_ui.feature.feature.group 0.0.0' but it could not be found

    How can I solve this problem?
    Thanks for help!

    Alexandra


  53. I was able to upgrade upto setp7 and on setp 8 following happen

    Cannot complete the install because one or more required items could not be found.
    Software being installed: SpringSource Tool Suite 2.2.1.200911070806-CI-R4046-B6 (com.springsource.sts.package.feature.group 2.2.1.200911070806-CI-R4046-B6)
    Missing requirement: SpringSource Tool Suite 2.2.1.200911070806-CI-R4046-B6 (com.springsource.sts.package.feature.group 2.2.1.200911070806-CI-R4046-B6) requires 'org.maven.ide.eclipse.feature.feature.group 0.0.0' but it could not be found


  54. Reponse to pall's problem above.

    I got the same issue. I resolved it by installing M2eclipse (maven plugin for Eclipse)
    See here for steps : http://blog.jonschneider.com/2009/07/installing-m2eclipse-in-eclipse-35.html

    Try step 7 again after the above plugin install.

    Incase you happen to get a similar error looking for groovy plugin then use this link :
    http://docs.codehaus.org/display/GROOVY/Eclipse Plugin V2 FAQ#EclipsePluginV2FAQ-Q.HowdoIinstallfromanupdatesite?
    Repeat step 7 again. I hope this time it should work !

    Note: After Maven plugin install, Eclipse reported to change Eclipse Workbench JAVA Home to use JDK version,instead of JRE, as the Maven core packages require JDK packages.


  55. Ha! What a noble and elegant install! ;-)

    And there I was regretting the old days of Windows where only a proper restart would mean a job well done. Anyway, joking aside – Thanks for the tools!


  56. Hi Christian,

    I got this message on step 8:

    Cannot complete the install because one or more required items could not be found.
    Software being installed: SpringSource Tool Suite 2.2.1.200911160802-CI-R4074-B15 (com.springsource.sts.package.feature.group 2.2.1.200911160802-CI-R4074-B15)
    Missing requirement: SpringSource Tool Suite 2.2.1.200911160802-CI-R4074-B15 (com.springsource.sts.package.feature.group 2.2.1.200911160802-CI-R4074-B15) requires 'org.eclipse.platform.feature.group [3.5.1.R35x_v20090910-9gEeG1_FthkNDSP2odXdThaOu9GFDPn83DGB7]' but it could not be found

    please help me ,

    Thanks
    Gabriele

2 trackbacks

Leave a Reply