Results 1 to 8 of 8

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

  1. #1
    Join Date
    Jun 2006
    Posts
    25

    Question [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. #2
    Join Date
    Aug 2008
    Location
    Vancouver, BC
    Posts
    750

    Default

    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.
    Andrew Eisenberg, Ph.D.
    SpringSource, a division of VMware
    SpringSource Tools Team
    More about AJDT, Groovy-Eclipse, and Grails tooling

  3. #3
    Join Date
    Aug 2011
    Posts
    1

    Default

    Quote 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...

  4. #4
    Join Date
    Aug 2008
    Location
    Vancouver, BC
    Posts
    750

    Default

    Once the install is successful, I don't think you have to.
    Andrew Eisenberg, Ph.D.
    SpringSource, a division of VMware
    SpringSource Tools Team
    More about AJDT, Groovy-Eclipse, and Grails tooling

  5. #5
    Join Date
    Jun 2006
    Posts
    25

    Default

    Quote 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.

  6. #6
    Join Date
    Aug 2008
    Location
    Vancouver, BC
    Posts
    750

    Default

    Did you try running as admin?
    Andrew Eisenberg, Ph.D.
    SpringSource, a division of VMware
    SpringSource Tools Team
    More about AJDT, Groovy-Eclipse, and Grails tooling

  7. #7
    Join Date
    Jun 2006
    Posts
    25

    Default

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

  8. #8
    Join Date
    Aug 2008
    Location
    Vancouver, BC
    Posts
    750

    Default

    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.
    Andrew Eisenberg, Ph.D.
    SpringSource, a division of VMware
    SpringSource Tools Team
    More about AJDT, Groovy-Eclipse, and Grails tooling

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •