Announcement Announcement Module
Collapse
No announcement yet.
[Grails] Cannot complete the install because of a conflicting dependency Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Grails] Cannot complete the install because of a conflicting dependency

    I've just rebuilt my Windows 7 machine. Installed STS successfully. But when I try to add the Grails and Groovy extensions, I get the following error. I am doing the installation as an Administrator. What's going on?


    Problems occurred while performing installation: Operation details
    Operation details
    Cannot complete the install because of a conflicting dependency.
    Software being installed: SpringSource Tool Suite Grails Support 2.7.1.201107091000-RELEASE (com.springsource.sts.grails.feature.group 2.7.1.201107091000-RELEASE)
    Software currently installed: Shared profile 1.0.0.1312339441300 (SharedProfile_com.springsource.sts.ide 1.0.0.1312339441300)
    Only one of the following can be installed at once:
    Java Development Tools Core 3.7.0.xx-20110628-1600-e37 (org.eclipse.jdt.core 3.7.0.xx-20110628-1600-e37)
    Java Development Tools Core 3.7.0.v_B61 (org.eclipse.jdt.core 3.7.0.v_B61)
    Cannot satisfy dependency:
    From: Shared profile 1.0.0.1312339441300 (SharedProfile_com.springsource.sts.ide 1.0.0.1312339441300)
    To: org.eclipse.jdt.core [3.7.0.v_B61]
    Cannot satisfy dependency:
    From: Shared profile 1.0.0.1312339441300 (SharedProfile_com.springsource.sts.ide 1.0.0.1312339441300)
    To: org.eclipse.jdt.feature.group [3.7.0.v20110520-0800-7z8gFchFMTdFYKuLqBLqRja9B15B]
    Cannot satisfy dependency:
    From: SpringSource Tool Suite Grails Support 2.7.1.201107091000-RELEASE (com.springsource.sts.grails.feature.group 2.7.1.201107091000-RELEASE)
    To: org.codehaus.groovy.eclipse.feature.feature.group 2.0.0
    Cannot satisfy dependency:
    From: Groovy-Eclipse Feature 2.5.1.xx-20110628-1600-e37 (org.codehaus.groovy.eclipse.feature.feature.group 2.5.1.xx-20110628-1600-e37)
    To: org.codehaus.groovy.jdt.patch.feature.group [2.1.3.xx-20110628-1600-e37]
    Cannot satisfy dependency:
    From Patch: org.codehaus.groovy.jdt.patch.feature.group 2.1.3.xx-20110628-1600-e37 Eclipse Java Development Tools 3.7.0.v20110520-0800-7z8gFchFMTdFYKuLqBLqRja9B15B (org.eclipse.jdt.feature.group 3.7.0.v20110520-0800-7z8gFchFMTdFYKuLqBLqRja9B15B)
    To: org.eclipse.jdt.core [3.7.0.xx-20110628-1600-e37]

  • #2
    It looks like you have a read-only install location. The STS installation must be writable by the current user otherwise the Groovy-Eclipse installation will fail.

    Comment


    • #3
      Originally posted by Andrew Eisenberg View Post
      It looks like you have a read-only install location. The STS installation must be writable by the current user otherwise the Groovy-Eclipse installation will fail.
      Running STS as an Administrator in Windows 7 worked for me. Don't know if this means I always need to run as an admin...

      Comment


      • #4
        Once the install is successful, I don't think you have to.

        Comment


        • #5
          Originally posted by Andrew Eisenberg View Post
          It looks like you have a read-only install location. The STS installation must be writable by the current user otherwise the Groovy-Eclipse installation will fail.
          Well, I looked at the properties of the STS folder and it looked like it was marked as read only. I unchecked it and told windows to apply the change to all subfolders and files. Unfortunately, it didn't help. I still get:

          Code:
          Problems occurred while performing installation: Operation details
          Operation details
          Cannot complete the install because of a conflicting dependency.
          Software being installed: SpringSource Tool Suite Grails Support 2.7.1.201107091000-RELEASE (com.springsource.sts.grails.feature.group 2.7.1.201107091000-RELEASE)
          Software currently installed: Shared profile 1.0.0.1312339441300 (SharedProfile_com.springsource.sts.ide 1.0.0.1312339441300)
          Only one of the following can be installed at once: 
          Java Development Tools Core 3.7.0.xx-20110628-1600-e37 (org.eclipse.jdt.core 3.7.0.xx-20110628-1600-e37)
          Java Development Tools Core 3.7.0.v_B61 (org.eclipse.jdt.core 3.7.0.v_B61)
          Cannot satisfy dependency:
          From: Shared profile 1.0.0.1312339441300 (SharedProfile_com.springsource.sts.ide 1.0.0.1312339441300)
          To: org.eclipse.jdt.core [3.7.0.v_B61]
          Cannot satisfy dependency:
          From: Shared profile 1.0.0.1312339441300 (SharedProfile_com.springsource.sts.ide 1.0.0.1312339441300)
          To: org.eclipse.jdt.feature.group [3.7.0.v20110520-0800-7z8gFchFMTdFYKuLqBLqRja9B15B]
          Cannot satisfy dependency:
          From: SpringSource Tool Suite Grails Support 2.7.1.201107091000-RELEASE (com.springsource.sts.grails.feature.group 2.7.1.201107091000-RELEASE)
          To: org.codehaus.groovy.eclipse.feature.feature.group 2.0.0
          Cannot satisfy dependency:
          From: Groovy-Eclipse Feature 2.5.1.xx-20110628-1600-e37 (org.codehaus.groovy.eclipse.feature.feature.group 2.5.1.xx-20110628-1600-e37)
          To: org.codehaus.groovy.jdt.patch.feature.group [2.1.3.xx-20110628-1600-e37]
          Cannot satisfy dependency:
          From Patch: org.codehaus.groovy.jdt.patch.feature.group 2.1.3.xx-20110628-1600-e37 Eclipse Java Development Tools 3.7.0.v20110520-0800-7z8gFchFMTdFYKuLqBLqRja9B15B (org.eclipse.jdt.feature.group 3.7.0.v20110520-0800-7z8gFchFMTdFYKuLqBLqRja9B15B)
          To: org.eclipse.jdt.core [3.7.0.xx-20110628-1600-e37]
          Guess I'll try to uninstall and re-install next week.

          Comment


          • #6
            Did you try running as admin?

            Comment


            • #7
              Yes. I actually said that in my original questions, since my research pointed to the read-only issue. Thanks for the quick response.

              Comment


              • #8
                Another thing you can try (which I can't guarantee will work, but would be easier than reinstalling) is simply moving the entire install to a world-writable location and then trying the update manager.

                Comment

                Working...
                X