을 생성 : 그게의 groupId, artifactId를 제공 한 후 등의 명령을MVN 원형 : 나는 자습서 다음하고 빌드 실패
mvn archetype:generate -DarchetypeCatalog=http://download.java.net/maven/2
을, 그것이 말하는 여기 http://persistentdesigns.com/wp/jersey-spring-and-jpa/ 를 실행 나는 위의 명령을 실행했습니다. 나는,이 번호는 튜토리얼에 나와 있지 않기 때문에
: (:의 groupId :] artifactId를가, 대소 문자에 포함 된 형식)
필터를 번호를 선택하거나 적용하지만의 groupId를 요구하기 전에, 그것은을 위해하는 질문 커맨드 라인에서 주어진 옵션들을 살펴보고 3을 선택했다. 그 후에 그룹 ID와 기타를 요구했다. 나는 모든 옵션을주고 Enter를 누른다. 하지만 POM을 읽는 중 오류가 발생했습니다. 나는 그것이 POM을 읽는되지 않는 이유 아무 생각이
Choose archetype:
1: http://download.java.net/maven/2 -> com.sun.jersey.archetypes:jersey-quickstart-
grizzly (Archetype for creating a RESTful web application with Jersey and Grizzly)
2: http://download.java.net/maven/2 -> com.sun.jersey.archetypes:jersey-quickstart-grizzly2 (Archetype for creating a RESTful web application with Jersey and Grizzly 2.x)
3: http://download.java.net/maven/2 -> com.sun.jersey.archetypes:jersey-quickstart-webapp (Archetype for creating a Jersey based RESTful web application with WAR packaging)
4: http://download.java.net/maven/2 -> com.sun.jersey.archetypes:jersey-quickstart-ejb (Archetype for creating a Jersey based RESTful EJB application with WAR packaging)
5: http://download.java.net/maven/2 -> com.sun.faces:simple-jsf (Archetype for creating a simple JSF project)
6: http://download.java.net/maven/2 -> com.sun.faces.regression:i_jsf_XXXX-archetype (Archetype for mojarra JSF regression tests)
Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): : 3
Define value for property 'groupId': : com.persistent
Define value for property 'artifactId': : jerseySpringJPA
Define value for property 'version': 1.0-SNAPSHOT: : <CR>
Define value for property 'package': com.persistent: : com.persistent.rest
Confirm properties configuration:
groupId: com.persistent
artifactId: jerseySpringJPA
version: <CR>
package: com.persistent.rest
Y: : Y
[INFO] ----------------------------------------------------------------------------
[INFO] Using following parameters for creating project from Old (1.x) Archetype: jersey-quickstart-webapp:1.8
[INFO] ----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: com.persistent
[INFO] Parameter: packageName, Value: com.persistent.rest
[INFO] Parameter: package, Value: com.persistent.rest
[INFO] Parameter: artifactId, Value: jerseySpringJPA
[INFO] Parameter: basedir, Value: /mwallet
[INFO] Parameter: version, Value: <CR>
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:32.278s
[INFO] Finished at: Fri Aug 02 00:55:41 GMT+05:30 2013
[INFO] Final Memory: 7M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.2:generate (default-cli) on project standalone-pom: Error reading POM -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
:
여기에 출력합니다. 내가 여기서 아무것도 놓치고 있니? 도와주세요! 미리 감사드립니다.
'은''의미 운송 Return' 또는 답장을 보내 주셔서 즉 눌러'반환/Enter' –