Jpress打包的时候报错,下面贴出终端报错内容,请大神帮忙看一眼,指点一下

image.png

localhost:jpress gaoang$ cd jpress-web

localhost:jpress-web gaoang$ mvn package

[INFO] Scanning for projects...

[INFO

[INFO] ------------------------------------------------------------------------

[INFO] Building jpress-web 1.0

[INFO] ------------------------------------------------------------------------

Downloading: https://repo.maven.apache.org/maven2/io/jpress/jpress-web-core/1.0/jpress-web-core-1.0.pom

[WARNING] The POM for io.jpress:jpress-web-core:war:1.0 is missing, no dependency information available

Downloading: https://repo.maven.apache.org/maven2/io/jpress/jpress-web-admin/1.0/jpress-web-admin-1.0.pom

[WARNING] The POM for io.jpress:jpress-web-admin:war:1.0 is missing, no dependency information available

Downloading: https://repo.maven.apache.org/maven2/io/jpress/jpress-web-front/1.0/jpress-web-front-1.0.pom

[WARNING] The POM for io.jpress:jpress-web-front:war:1.0 is missing, no dependency information available

Downloading: https://repo.maven.apache.org/maven2/io/jpress/jpress-web-template-jblog/1.0/jpress-web-template-jblog-1.0.pom

[WARNING] The POM for io.jpress:jpress-web-template-jblog:war:1.0 is missing, no dependency information available

Downloading: https://repo.maven.apache.org/maven2/io/jpress/jpress-web-template-the3/1.0/jpress-web-template-the3-1.0.pom

[WARNING] The POM for io.jpress:jpress-web-template-the3:war:1.0 is missing, no dependency information available

Downloading: https://repo.maven.apache.org/maven2/io/jpress/jpress-web-core/1.0/jpress-web-core-1.0.war

Downloading: https://repo.maven.apache.org/maven2/io/jpress/jpress-web-admin/1.0/jpress-web-admin-1.0.war

Downloading: https://repo.maven.apache.org/maven2/io/jpress/jpress-web-front/1.0/jpress-web-front-1.0.war

Downloading: https://repo.maven.apache.org/maven2/io/jpress/jpress-web-template-jblog/1.0/jpress-web-template-jblog-1.0.war

Downloading: https://repo.maven.apache.org/maven2/io/jpress/jpress-web-template-the3/1.0/jpress-web-template-the3-1.0.war

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 5.767 s

[INFO] Finished at: 2017-08-04T11:17:40+08:00

[INFO] Final Memory: 10M/169M

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal on project jpress-web: Could not resolve dependencies for project io.jpress:jpress-web:war:1.0: The following artifacts could not be resolved: io.jpress:jpress-web-core:war:1.0, io.jpress:jpress-web-admin:war:1.0, io.jpress:jpress-web-front:war:1.0, io.jpress:jpress-web-template-jblog:war:1.0, io.jpress:jpress-web-template-the3:war:1.0: Could not find artifact io.jpress:jpress-web-core:war:1.0 in central (https://repo.maven.apache.org/maven2) -> [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/DependencyResolutionException

localhost:jpress-web gaoang$ 


评论区

海哥

2017-08-04 11:43

先把本地 target手动删除后(注意是手动删除)。然后再 mvn clean install

mrgaoang

2017-08-04 12:00

@海哥 删除了target后再执行mvn clean install 也报错了
ERROR] Failed to execute goal on project jpress-web: Could not resolve dependencies for project io.jpress:jpress-web:war:1.0: The following artifacts could not be resolved: io.jpress:jpress-web-core:war:1.0, io.jpress:jpress-web-admin:war:1.0, io.jpress:jpress-web-front:war:1.0, io.jpress:jpress-web-template-jblog:war:1.0, io.jpress:jpress-web-template-the3:war:1.0: Failure to find io.jpress:jpress-web-core:war:1.0 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [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/DependencyResolutionException
localhost:jpress-web gaoang$

三木

2018-11-02 11:26

请问你最后解决了吗?能和我说说吗?我现在也是这个问题

rirai

2018-12-19 21:30

我也是这个问题,卡在这里了,如何解决?

热门反馈

扫码入社