Announcement Announcement Module
No announcement yet.
STS 2.6.0 released Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • STS 2.6.0 released

    Dear Spring Community,

    I'm pleased to announce that we just released SpringSource Tool Suite (STS) 2.6.0.

    Some highlights from this release:
    • All the updates that you got from 2.5.2.SR1 included (Spring Roo 1.1.2, Eclipse Helios SR2, Groovy 1.7.8, Grails 1.3.7)
    • Roo Plugin Manager
    • Content Assist, Quick Fixes and Refactorings for @Autowired, @Qualifier, @RequestMapping
    • New graphical editor for Spring Web Flow
    • A lot of new features and performance improvements for Groovy + Grails tooling
    More details can be found in the New and Noteworthy document. Detailed installation instructions are also available.

    As always downloads are available from the STS download page.


  • #2

    It's the first release I've tried. Seems to be promising

    I've found 2 bugs though.
    Where can I submit them?

    For now here their goes:
    1. STS IDE complains about dynamic getter implementation.
      Sample interface and implementing class in groovy (split into different files):
      interface Addressable {
          def getAddress()
      class User implements Addressable {
          def address
      The code above is enough to fulfil interface implementation in groovy however IDE shows "The class 'test.User' must be declared abstract or the method 'java.lang.Object getAddress()' must be implemented."
    2. If grails domain class implements itself (I believe any other class too, but haven't checked) IDE crashes - StackOverFlowException via infinite recurrency. This isn't crucial as something like
      class User implements User ...
      can be written only by accident. Still it's not good when this cannot be undone without using other editor.

    I'm on Ubuntu 9.10 (kernel 2.6.31-22) 64 bit, OpenJDK 1.6.0_20

    BTW. Is there plan for adding visual domain designer?

    Last edited by topr; Mar 20th, 2011, 09:44 AM.


    • #3
      Hi Topr,

      Re: 1

      Please raise an issue on and we can explore that problem.

      Re: 2

      This is already logged as

      Andy Clement
      SpringSource Tool Suite team


      • #4
        create-app problem after upgrade

        I upgraded to 2.6.0 and am getting the following error when trying to create a new project.

        GrailsCommand(create-app myproject) has encountered a problem.

        An internal error occurred during: "GrailsCommand(create-app myproject)".

        I downloaded the following and did a clean install : springsource-tool-suite-2.6.0.RELEASE-e3.6.2-macosx-cocoa-installer.dmg

        Afterwards, I installed the Grails extensions.

        I have the following defined in my .profile

        export GRAILS_HOME=/Users/brian/springsource/grails-1.3.7

        my JAVA_HOME and PATH haven't changed and resolve correctly. From the command line I can invoke grails create-app and it works. Inside STS, preferences > Grails > Grails Installations points to the same installation directory. I've uninstalled and reinstalled STS several times and still get the same error. I was wondering if there's another place on a mac where a setting might get set. I've noticed a ~/.grails folder and it has 1.3.7 folder in it. Any help is appreciated.



        • #5
          STS update for eclipse 3.6

          As per the installation instructions for installing STS 2.6 into eclipse using an update site, i'm getting error related to MD5 hash failing for a jar while doing an update.
          Env: eclipse 3.6
          o/s: Windows 7 64 bit

          Attached is the image for reference. let me know what needs to be done for this error.



          • #6
            should we be able to point the newly installed version 2.6 sts at a previous sts workspace? I'm not able to do so for a workspace in which i was using plugins, the errors in the log show:

            !ENTRY 4 0 2011-03-28 19:56:10.582
            !MESSAGE Could not instantiate provider org.tigris.subversion.subclipse.core.svnnature for project ******
            !STACK 1
   Could not instantiate provider org.tigris.subversion.subclipse.core.svnnature for project yardmap-static.
            at vider(
            at ngProvider(
            at er(
            at getProvider(
            at getRuleFactory(
            at org.eclipse.core.internal.resources.Rules.factoryF or(
            at org.eclipse.core.internal.resources.Rules.modifyRu le(
            at org.eclipse.core.internal.resources.Project.touch(
            at org.eclipse.jdt.internal.core.SetContainerOperatio n.executeOperation(
            at org.eclipse.jdt.internal.core.JavaModelOperation.r un(
            at org.eclipse.jdt.internal.core.JavaModelOperation.r unOperation(
            at org.eclipse.jdt.internal.core.JavaModelManager$11. run(
            at org.eclipse.jdt.internal.core.JavaModelManager.ini tializeAllContainers(
            at org.eclipse.jdt.internal.core.JavaModelManager.get ClasspathContainer(
            at org.eclipse.jdt.core.JavaCore.initializeAfterLoad(
            at org.eclipse.jdt.internal.ui.InitializeAfterLoadJob $
            at ava:54)


            • #7
              Looks like the Subclipse plugin is missing. Please go to the extension install (on the STS dashboard) and install Subclipse into your fresh STS installation, that should solve this problem.



              • #8
                I tried to install STS 2.6.0 into an existing Eclipse 3.6.2 on Win7 64bit and it works without the MD5 problem. I added these two update sites:


                and then installed everything from STS by choosing the first one and selecting the components I wish to use. Works fine for me. Can you check the update sites?

                BTW: Are you behind a firewall? Maybe the firewall unzip and re-zip JAR files to check for malware...



                • #9
                  thanks! i pointed the new sts at a fresh workspace, installed the plugins from the dashboard, then moved back to the old workspace, and it doesn't just freeze and crash


                  • #10
                    ack, so close. was experiencing the problem mentioned in this post -


                    and now sts/eclipse freezes on startup with the following error in the log:

                    !ENTRY org.maven.ide.eclipse 4 0 2011-03-29 11:45:11.199
                    !MESSAGE Can't read workspace state
                    !STACK 0
                    at org.maven.ide.eclipse.internal.project.registry.Pr ojectRegistryReader$1.resolveClass(ProjectRegistry
                    at org.maven.ide.eclipse.internal.project.registry.Pr ojectRegistryReader.readWorkspaceState(ProjectRegi
                    at org.maven.ide.eclipse.internal.project.registry.Pr ojectRegistryManager.<init>(ProjectRegistryManager .java:150)
                    at org.maven.ide.eclipse.MavenPlugin.start(MavenPlugi
                    at org.eclipse.osgi.framework.internal.core.BundleCon textImpl$
                    at Method)
                    at org.eclipse.osgi.framework.internal.core.BundleCon textImpl.startActivator( )
                    at org.eclipse.osgi.framework.internal.core.BundleCon textImpl.start(
                    at org.eclipse.osgi.framework.internal.core.BundleHos t.startWorker(
                    at org.eclipse.osgi.framework.internal.core.AbstractB undle.start(
                    at org.eclipse.osgi.framework.util.SecureAction.start (
                    at org.eclipse.osgi.internal.loader.BundleLoader.setL azyTrigger(
                    at org.eclipse.core.runtime.internal.adaptor.EclipseL azyStarter.postFindLocalClass(EclipseLazyStarter.j ava:106)
                    at org.eclipse.osgi.baseadaptor.loader.ClasspathManag er.findLocalClass(
                    at org.eclipse.osgi.internal.baseadaptor.DefaultClass Loader.findLocalClass(
                    at org.eclipse.osgi.internal.loader.BundleLoader.find LocalClass(
                    at org.eclipse.osgi.internal.loader.BundleLoader.find ClassInternal(
                    at org.eclipse.osgi.internal.loader.BundleLoader.find Class(
                    at org.eclipse.osgi.internal.loader.BundleLoader.find Class(
                    at org.eclipse.osgi.internal.baseadaptor.DefaultClass Loader.loadClass(
                    at java.lang.ClassLoader.loadClass( 48)
                    at org.eclipse.osgi.internal.loader.BundleLoader.load Class(
                    at org.eclipse.osgi.framework.internal.core.BundleHos t.loadClass(
                    at org.eclipse.osgi.framework.internal.core.AbstractB undle.loadClass(
                    at org.eclipse.core.internal.registry.osgi.RegistrySt rategyOSGI.createExecutableExtension(RegistryStrat
                    at org.eclipse.core.internal.registry.ExtensionRegist ry.createExecutableExtension(ExtensionRegistry.jav a:904)
                    at org.eclipse.core.internal.registry.ConfigurationEl ement.createExecutableExtension(ConfigurationEleme
                    at org.eclipse.core.internal.registry.ConfigurationEl ementHandle.createExecutableExtension(Configuratio
                    at org.eclipse.core.internal.content.ContentType.getD escriber(
                    at org.eclipse.core.internal.content.ContentTypeCatal og.collectMatchingByContents(ContentTypeCatalog.ja va:184)
                    at org.eclipse.core.internal.content.ContentTypeCatal og.internalFindContentTypesFor(ContentTypeCatalog. java:403)
                    at org.eclipse.core.internal.content.ContentTypeCatal og.internalFindContentTypesFor(ContentTypeCatalog. java:450)
                    at org.eclipse.core.internal.content.ContentTypeCatal og.getDescriptionFor(
                    at org.eclipse.core.internal.content.ContentTypeCatal og.getDescriptionFor(
                    at org.eclipse.core.internal.content.ContentTypeMatch er.getDescriptionFor(
                    at org.eclipse.core.internal.resources.ContentDescrip tionManager.readDescription(ContentDescriptionMana
                    at org.eclipse.core.internal.resources.ContentDescrip tionManager.getDescriptionFor(ContentDescriptionMa
                    at org.eclipse.core.internal.resources.File.internalG etCharset(
                    at org.eclipse.core.internal.resources.File.getCharse t(
                    at org.eclipse.core.internal.resources.File.getCharse t(
                    at org.eclipse.core.internal.filebuffers.ResourceText FileBuffer.cacheEncodingState(ResourceTextFileBuff
                    at org.eclipse.core.internal.filebuffers.ResourceText FileBuffer.initializeFileBufferContent(ResourceTex
                    at org.eclipse.core.internal.filebuffers.ResourceFile Buffer.create(
                    at org.eclipse.core.internal.filebuffers.TextFileBuff erManager.connect(
                    at org.eclipse.ui.editors.text.TextFileDocumentProvid er.createFileInfo( 9)
                    at org.eclipse.ui.editors.text.TextFileDocumentProvid er.connect(
                    at org.eclipse.ui.texteditor.AbstractTextEditor.doSet Input(
                    at org.eclipse.ui.texteditor.StatusTextEditor.doSetIn put(
                    at org.eclipse.ui.texteditor.AbstractDecoratedTextEdi tor.doSetInput( 44)
                    at org.eclipse.ui.editors.text.TextEditor.doSetInput(
                    at org.eclipse.wst.sse.ui.StructuredTextEditor.doSetI nput(
                    at org.eclipse.ui.texteditor.AbstractTextEditor$ n(
                    at org.eclipse.jface.operation.ModalContext.runInCurr entThread(
                    at org.eclipse.jface.window.ApplicationWindow$
                    at org.eclipse.swt.custom.BusyIndicator.showWhile(Bus
                    at org.eclipse.ui.texteditor.AbstractTextEditor.inter nalInit(
                    at org.eclipse.ui.texteditor.AbstractTextEditor.init(
                    at org.eclipse.wst.sse.ui.StructuredTextEditor.init(S
                    at org.eclipse.ui.part.MultiPageEditorPart.addPage(Mu
                    at org.eclipse.ui.part.MultiPageEditorPart.addPage(Mu
                    at org.eclipse.wst.xml.ui.internal.tabletree.XMLMulti PageEditorPart.addSourcePage(XMLMultiPageEditorPar
                    at org.eclipse.wst.xml.ui.internal.tabletree.XMLMulti PageEditorPart.createPages(XMLMultiPageEditorPart. java:713)
                    at org.eclipse.ui.part.MultiPageEditorPart.createPart Control(
                    at org.eclipse.ui.internal.EditorReference.createPart Helper(
                    at org.eclipse.ui.internal.EditorReference.createPart (
                    at org.eclipse.ui.internal.WorkbenchPartReference.get Part(
                    at org.eclipse.ui.internal.EditorAreaHelper.setVisibl eEditor(
                    at org.eclipse.ui.internal.EditorManager.setVisibleEd itor(
                    at org.eclipse.ui.internal.EditorManager$5.runWithExc eption(
                    at org.eclipse.ui.internal.StartupThreading$StartupRu
                    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessa ges(


                    • #11
                      I'm already running milestone 2 via exe on Win7 - would/should I uninstall/reinstall, or is there a simpler method of upgrading?


                      • #12
                        Originally posted by JGarrido View Post
                        I'm already running milestone 2 via exe on Win7 - would/should I uninstall/reinstall, or is there a simpler method of upgrading?
                        Yes, just do a "Check for Updates" and install the release, when it shows up.

                        If you haven't installed a lot of other plugins into your installation, a new fresh install is of course also an option.



                        • #13
                          Originally posted by chrismarx View Post
                          ack, so close. was experiencing the problem mentioned in this post -


                          and now sts/eclipse freezes on startup with the following error in the log:

                          !ENTRY org.maven.ide.eclipse 4 0 2011-03-29 11:45:11.199
                          !MESSAGE Can't read workspace state
                          !STACK 0
                          Looks like the workspace got corrupted. Did you try to run a fresh workspace? If that works, you might need to create a new workspace for your project. The easiest way is to delete the .metadata directory, start STS with the same workspace location as before and re-import the still existing projects. Sorry for the inconvenience.



                          • #14
                            Windows 7 Supported?

                            The STS download page says:

                            "Operating System: Microsoft Windows XP or Vista, Apple Mac OS X, Linux"

                            I think Windows 7 is here to stay, so maybe it should be added to the list? (And Vista discouraged. )



                            • #15
                              great, ill give that a try-