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

  • STS 2.5.1 and Scala

    Anyone had any luck with this combination ?

    Afrer adding Scala Nature to a project, any attempt to open a file gives this error :

    Could not initialize class Utils$

    I am using the Scala plugin from

  • #2
    Are you using STS based on Eclipse 3.5 or 3.6? I'd recommend moving to STS 2.5.1 and the 3.6 version if you can. And also use the update site for ScalaIDE for 36:

    In the past, there have been some conflicts between AJDT and ScalaIDE, but we believe that they are all fixed in the latest release.


    • #3
      Running 2.5.1 as previously stated, isn't that version based on Eclipse 3.6 ?


      • #4
        The 3.6 update site for the scala plugin wotked much better, thanks.


        • #5
          Trying to install Scala Eclipse plugin via url:

          Cannot install because of conflicting dependency in component 'JDT Weaving for Scala'. I assume this is needed for Scala to function properly in IDE.

          Below the error message:

          Cannot complete the install because of a conflicting dependency.
          Software being installed: JDT Weaving for Scala (
          Software currently installed: SpringSource Tool Suite (com.springsource.sts.ide
          Only one of the following can be installed at once:
          JDT Weaving 2.1.2.e36x-20101109-1600 (org.eclipse.contribution.weaving.jdt 2.1.2.e36x-20101109-1600)
          JDT Weaving 2.1.2.e36x-20101113-1400 (org.eclipse.contribution.weaving.jdt 2.1.2.e36x-20101113-1400)
          Cannot satisfy dependency:
          From: SpringSource Tool Suite (com.springsource.sts.ide
          To: []
          Cannot satisfy dependency:
          From: SpringSource Tool Suite Package (
          To: 0.0.0
          Cannot satisfy dependency:
          From: AspectJ Development Tools 2.1.2.e36x-20101109-1600 ( 2.1.2.e36x-20101109-1600)
          To: org.eclipse.contribution.weaving.jdt [2.1.2.e36x-20101109-1600]
          Cannot satisfy dependency:
          From: JDT Weaving for Scala (
          To: org.eclipse.contribution.weaving.jdt [2.1.2.e36x-20101113-1400]


          • #6
            Disable the JDT Weaving for Scala feature. That is superceded by AJDT's JDT Weaving feature.


            • #7
              I first installed STS 2.5.1, then Scala-IDE on Eclipse Helios 3.6.1. When I prompt to restart Eclipse, I click Restart.

              Then it seems that Eclipse enter into a loop of restarting. I have to kill it by the Windows Task Manager.

              If I donot install "JDT Weaving for Scala", then the installation goes well.

              What causes it?


              • #8
                As I mentioned earlier, JDT Weaving for ScalaIDE is a sub-set of JDT Weaving for AJDT.

                They are both implemented using OSGi adapter hooks. When a new adapter hook is installed, then that causes an automatic restart of the OSGi framework. However, if there is a conflict between adapter hooks, that may cause the new hook to not be properly installed and another restart is invoked. In some cases, this may cause an infinite loop.