- This topic has 7 replies, 6 voices, and was last updated 11 years, 5 months ago by support-tony.
-
AuthorPosts
-
mangelo123ParticipantI 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
support-pradeepMembermangelo123,
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.
WB4sm0TPJQMiVYgvMemberMy 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
support-pradeepMemberWB4sm0TPJQMiVYgv,
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.
support-piotrParticipantThe 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 .
nycdarrenParticipantME 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?
support-piotrParticipantnycdarren,
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.
support-tonyKeymasterThe 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.
-
AuthorPosts