Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

[S2] Using Struts with Eclipse + M2Eclipse Plugin

Nicolas

2007-05-12


Hey Guys,

I try to make a Struts project wok with the m2eclipse plugin. When I
save my pom.xml I get the following error:

13/05/07 02:17:42 BST: Missing:
1) com.sun:tools:jar:1.5.0
Try downloading the file manually from the project website.
Then, install it using the command:
   mvn install:install-file -DgroupId=com.sun -DartifactId=tools \
      -Dversion=1.5.0 -Dpackaging=jar -Dfile=/path/to/file
Path to dependency:
   1) quickstart:quickstart:war:0.1-SNAPSHOT
   2) org.apache.struts:struts2-core:jar:2.0.6
   3) com.sun:tools:jar:1.5.0
1 required artifact is missing.
for artifact:
quickstart:quickstart:war:0.1-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2)


I already tried to solve this with various proposed solutions, but it
never worked for me.

Some solutions I tried:
http://maven.apache.org/general.html#tools-jar-dependency
http://www.mail-archive.com/user@(protected)


Cheers,
Nicolas


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.