- This topic has 1 reply, 2 voices, and was last updated 13 years, 5 months ago by support-joy.
-
AuthorPosts
-
Smitht19MemberI have tried to scaffold a new Maven spring project on several computers and I keep getting missing jar files for maven. Please some advise if I should have to manually install these jars
6/20/11 7:43:23 AM EDT: Missing artifact javax.faces:jsf-api:jar:1.2_04:provided
6/20/11 7:43:23 AM EDT: Missing artifact javax.servlet:jstl:jar:1.2:provided
6/20/11 7:43:23 AM EDT: Missing artifact javax.faces:jsf-impl:jar:1.2_04:provided
6/20/11 7:43:23 AM EDT: Missing artifact javax.faces:jsf-api:jar:1.2_04:provided
6/20/11 7:43:23 AM EDT: Missing artifact javax.servlet:jstl:jar:1.2:provided
6/20/11 7:43:23 AM EDT: Missing artifact javax.faces:jsf-impl:jar:1.2_04:provided
6/20/11 7:43:23 AM EDT: Refreshing [/Todd/pom.xml]
6/20/11 7:43:23 AM EDT: [INFO] Installing C:\Java\Genuitec\MyEclipse for Spring 9\configuration\org.eclipse.osgi\bundles\92\1\.cp\data\2.0\lib\toplink\toplink-api.jar to C:\Documents and Settings\smitht19\.m2\repository\com\oracle\toplink\toplink\10.1.3\toplink-10.1.3.jar
6/20/11 7:43:24 AM EDT: Maven Builder: FULL_BUILD
6/20/11 7:43:24 AM EDT: Build errors for Todd; org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project Todd: Missing:
———-
1) javax.servlet:jstl:jar:1.2Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=javax.servlet -DartifactId=jstl -Dversion=1.2 -Dpackaging=jar -Dfile=/path/to/fileAlternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=javax.servlet -DartifactId=jstl -Dversion=1.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]Path to dependency:
1) Todd:Todd:pom:pom:0.0.1-SNAPSHOT
2) javax.servlet:jstl:jar:1.22) javax.faces:jsf-impl:jar:1.2_04
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=javax.faces -DartifactId=jsf-impl -Dversion=1.2_04 -Dpackaging=jar -Dfile=/path/to/fileAlternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=javax.faces -DartifactId=jsf-impl -Dversion=1.2_04 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]Path to dependency:
1) Todd:Todd:pom:pom:0.0.1-SNAPSHOT
2) javax.faces:jsf-impl:jar:1.2_043) javax.faces:jsf-api:jar:1.2_04
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=javax.faces -DartifactId=jsf-api -Dversion=1.2_04 -Dpackaging=jar -Dfile=/path/to/fileAlternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=javax.faces -DartifactId=jsf-api -Dversion=1.2_04 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]Path to dependency:
1) Todd:Todd:pom:pom:0.0.1-SNAPSHOT
2) javax.faces:jsf-api:jar:1.2_04———-
3 required artifacts are missing.for artifact:
Todd:Todd:pom:0.0.1-SNAPSHOTfrom the specified remote repositories:
central (http://repo1.maven.org/maven2, releases=true, snapshots=false)
6/20/11 7:43:24 AM EDT: Missing artifact javax.faces:jsf-api:jar:1.2_04:provided
6/20/11 7:43:24 AM EDT: Missing artifact javax.servlet:jstl:jar:1.2:provided
6/20/11 7:43:24 AM EDT: Missing artifact javax.faces:jsf-impl:jar:1.2_04:provided
6/20/11 7:45:26 AM EDT: Missing artifact javax.servlet:jstl:jar:1.2:provided
support-joyMemberDuplicate post – https://www.genuitec.com/forums/topic/maven-problems-2/&highlight=
-
AuthorPosts