有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!

java Maven tomcat依赖项未在eclipse中下载;RSA premaster秘密错误

我试图通过maven运行tomcat,使用:mvn tomcat7:run 它试图下载依赖项,但在许多POM中出现错误

#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.
#Thu Apr 16 02:07:47 IST 2020
@default-central-https\://repo.maven.apache.org/maven2/.lastUpdated=1586983067650
https\://repo.maven.apache.org/maven2/.error=Could not transfer artifact org.apache.tomcat\:tomcat-coyote\:pom\:7.0.47 from/to central (https\://repo.maven.apache.org/maven2)\: RSA premaster secret error

此外,控制台中显示以下错误:

[ERROR] Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:run (default-cli) on project in28Minutes-springmvc: Execution default-cli of goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:run failed: Plugin org.apache.tomcat.maven:tomcat7-maven-plugin:2.2 or one of its dependencies could not be resolved: Failed to collect dependencies at org.apache.tomcat.maven:tomcat7-maven-plugin:jar:2.2 -> org.apache.tomcat:tomcat-coyote:jar:7.0.47: Failed to read artifact descriptor for org.apache.tomcat:tomcat-coyote:jar:7.0.47: Could not transfer artifact org.apache.tomcat:tomcat-coyote:pom:7.0.47 from/to central (https://repo.maven.apache.org/maven2): RSA premaster secret error: SunTls12RsaPremasterSecret KeyGenerator not available -> [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

共 (0) 个答案