facebook

Project contains another dependency with the same archive na

  1. MyEclipse IDE
  2.  > 
  3. Maven for MyEclipse (Maven4MyEclipse)
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #335898 Reply

    mangelo123
    Participant

    I am evaluating MyEclipse Bling. I’ve simply created a brand new web project with MyEclipse Maven support. I then added Spring capabilities with Spring Core, Spring Security, and Spring Web Flow for JSF.

    My project will not build due to:

    Invalid classpath publish/export dependency C:/Users/Michael/.m2/repository/com/google/code/guice/guice/2.0/guice-2.0.jar. The project contains another dependency with the same archive name

    #335930 Reply

    mangelo123,

    I could replicate the issue at my end. I have filed a bug for the dev team to work on it.
    Sorry for inconvenience caused.

    #336691 Reply

    My project fails to build when following the “Scaffolding a CRUD application in minutes” quickstart and adding maven support, Spring MVC web client, and Spring 3.1. However, if I instead select Spring 3.0 it builds successfully. I’m using MyEclipse for Spring 10.7.0 Windows 32-bit on Windows 7.

    Errors:
    #1 Invalid classpath publish/export dependency C:/Users/Abe/.m2/repository/com/google/code/guice/guice/2.0/guice-2.0.jar. The project contains another dependency with the same archive name. tif-reform P/tif-reform Classpath Dependency Validator Message

    #2 Missing artifact com.google.code.guice:guice:jar:2.0 pom.xml /tif-reform line 3 Maven Dependency Problem

    #3 The container ‘Maven Dependencies’ references non existing library ‘C:\Users\Abe\.m2\repository\com\google\code\guice\guice] –>.0\guice-2.0.jar’ tif-reform Build path Build Path Problem

    #4 The project cannot be built until build path errors are resolved CustomerApp Unknown Java Problem

    #336729 Reply

    WB4sm0TPJQMiVYgv,

    We already have a PR filed for this issue. I have escalated it to the dev team to look into it.
    Sorry for inconvenience caused.

    #339437 Reply

    support-piotr
    Participant

    The issue has been resolved in ME2013. As a workaround for previous versions of MyEclipse, you can replace dependency group: com.google.code.guice, with: com.google.inject .

    #340103 Reply

    nycdarren
    Participant

    ME Enterprise Workbench 10.7.1
    after adding spring 3.1 runtime dependencies

    <guice.version>3.0-rc3</guice.version>

    <dependency>
    <groupId>com.google.inject</groupId>
    <artifactId>guice</artifactId>
    <version>2.0</version>
    </dependency>

    pox.xml doesn’t contain reference to com.gogle.code.guice

    Missing artifact com.google.code.guice:guice:jar:2.0

    Is there a way to fix?

    #340121 Reply

    support-piotr
    Participant

    nycdarren,

    it appears that one of the artifact (namely openid4java) depends on com.google.code.guice:guice:jar:2.0 . If you’re not using OpenId, you can just remove that dependency, otherwise you will need to find the jar and import it into your local repository. In the newest upcoming ME 2013 SR1 missing jar will be imported automatically to your local repository by MyEclipse.

    #340498 Reply

    support-tony
    Keymaster

    The MyEclipse 2013 SR1 release is now available via downloaded installers or in-product update. Update sites should be ready by the end of this week.

    If the issue persists in existing projects, you need to reimport ME deps to Maven repository; use MyEclipse -> Maven4MyEclipse -> Import MyEclipse Dependencies to Local Repository and then clean the project.

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: Project contains another dependency with the same archive na

You must be logged in to post in the forum log in