为了账号安全,请及时绑定邮箱和手机立即绑定

运行jetty失败的问题?

运行jetty失败的问题?

GENIUS_L 2015-11-10 19:32:30
这是我的配置<plugins>            <plugin>                <!--  <groupId>org.mortbay.jetty</groupId>                <artifactId>jetty-maven-plugin</artifactId>                <version>8.1.16.v20140903</version>-->                <groupId>org.apache.tomcat.maven</groupId>                 <artifactId>tomcat7-maven-plugin</artifactId>                 <version>2.2</version>                <executions>                    <execution>                        <phase>package</phase>                        <goals>                            <goal>run</goal>                        </goals>                    </execution>                </executions>            </plugin>        </plugins>运行jetty和tomcat时都报错,报错信息如下:[ERROR] Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:run (default) on project helloworld: Execution default 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.embed:tomcat-embed-core:jar:7.0.47: Failed to read artifact descriptor for org.apache.tomcat.embed:tomcat-embed-core:jar:7.0.47: Could not transfer artifact org.apache.tomcat.embed:tomcat-embed-core:pom:7.0.47 from/to central (https://repo.maven.apache.org/maven2): RSA premaster secret error: SunTlsRsaPremasterSecret KeyGenerator not available -> [Help 1]
查看完整描述

1 回答

?
qq_forerver_lov_0

TA贡献1条经验 获得超0个赞

我现在也遇到这个错误,你解决了么???解决了告诉我一声,怎么解决的??谢谢,

查看完整回答
反对 回复 2016-09-01
  • 1 回答
  • 0 关注
  • 2410 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信