Undertow 打包问题

[INFO] Scanning for projects...

[INFO] 

[INFO] --------------------< Undertow-test:Undertow-test >---------------------

[INFO] Building jfinal_demo_undertow 1.0

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

[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.6/maven-resources-plugin-2.6.pom

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

[INFO] BUILD FAILURE

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

[INFO] Total time:  1.519 s

[INFO] Finished at: 2019-02-18T17:02:46+08:00

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

[ERROR] Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6: Could not transfer artifact org.apache.maven.plugins:maven-resources-plugin:pom:2.6 from/to central (https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version -> [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/PluginResolutionException


评论区

JFinal

2019-02-18 17:11

严格按文档来配置 eclipse 中的 maven ,否则会出各种奇怪问题:
https://www.jfinal.com/doc/1-1

已经有多人是因为 maven ===> User Settings 没配置好出了各种奇葩问题

热门反馈

扫码入社