应该怎么导入
我这边报错的
"F:\Program Files\Java\jdk1.8.0_131\bin\java" -Dmaven.multiModuleProjectDirectory=F:\work\zheng\SpringMVC "-Dmaven.home=F:\Program Files (x86)\IntelliJ IDEA 2017.2.4\plugins\maven\lib\maven3" "-Dclassworlds.conf=F:\Program Files (x86)\IntelliJ IDEA 2017.2.4\plugins\maven\lib\maven3\bin\m2.conf" "-javaagent:F:\Program Files (x86)\IntelliJ IDEA 2017.2.4\lib\idea_rt.jar=62401:F:\Program Files (x86)\IntelliJ IDEA 2017.2.4\bin" -Dfile.encoding=UTF-8 -classpath "F:\Program Files (x86)\IntelliJ IDEA 2017.2.4\plugins\maven\lib\maven3\boot\plexus-classworlds-2.5.2.jar" org.codehaus.classworlds.Launcher -Didea.version=2017.2.5 org.apache.maven.plugins:maven-install-plugin:2.4:install
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building example Maven Webapp 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-cli) @ example ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.398 s
[INFO] Finished at: 2017-10-06T16:27:55+08:00
[INFO] Final Memory: 6M/155M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.4:install (default-cli) on project example: The packaging for this project did not assign a file to the build artifact -> [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/MojoExecutionException
Process finished with exit code 1
maven install 就报错 要怎么操作呀
不需要maven install,直接在idea里面通过github导入该项目,然后maven就会自动下载所需要的引用包了。
2017-10-06 16:28 GMT+08:00 先生兰 [email protected]:
"F:\Program Files\Java\jdk1.8.0_131\bin\java" -Dmaven. multiModuleProjectDirectory=F:\work\zheng\SpringMVC "-Dmaven.home=F:\Program Files (x86)\IntelliJ IDEA 2017.2.4\plugins\maven\lib\maven3" "-Dclassworlds.conf=F:\Program Files (x86)\IntelliJ IDEA 2017.2.4\plugins\maven\lib\maven3\bin\m2.conf" "-javaagent:F:\Program Files (x86)\IntelliJ IDEA 2017.2.4\lib\idea_rt.jar=62401:F:\Program Files (x86)\IntelliJ IDEA 2017.2.4\bin" -Dfile.encoding=UTF-8 -classpath "F:\Program Files (x86)\IntelliJ IDEA 2017.2.4\plugins\maven\lib
maven3\boot\plexus-classworlds-2.5.2.jar" org.codehaus.classworlds.Launcher -Didea.version=2017.2.5 org.apache.maven.plugins:maven-install-plugin:2.4: install [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------[INFO] Building example Maven Webapp 1.0-SNAPSHOT [INFO] ------------------------------------------------------------
[INFO] [INFO] --- maven-install-plugin:2.4:install (default-cli) @ example --- [INFO] ------------------------------------------------------------
[INFO] BUILD FAILURE [INFO] ------------------------------------------------------------
[INFO] Total time: 0.398 s [INFO] Finished at: 2017-10-06T16:27:55+08:00 [INFO] Final Memory: 6M/155M [INFO] ------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins: maven-install-plugin:2.4:install (default-cli) on project example: The packaging for this project did not assign a file to the build artifact -> [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/ MojoExecutionException
Process finished with exit code 1
maven install 就报错 要怎么操作呀
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Cenyol/SpringMVC/issues/1#issuecomment-334692138, or mute the thread https://github.com/notifications/unsubscribe-auth/AEfx3KYDbYDxganfkOimo1H7cx8yQSCgks5speSkgaJpZM4PJ9Um .