Maven打war包 RSA premaster secret error: SunTls12RsaPremasterSecret KeyGenerator not available

Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-install-plugin:jar:2.4: Could not transfer artifact org.apache.maven.plugins:maven-install-plugin:pom:2.4 from/to nexus-aliyun (http://maven.aliyun.com/nexus/content/groups/public): RSA premaster secret error: SunTls12RsaPremasterSecret KeyGenerator not available -> [Help 1]

错误信息

总算找到了一个处理方式。。。。。
在pom.xml文件添加以下代码


    org.apache.maven.plugins
    maven-resources-plugin
    2.4.3

在setting.xml文件添加mirror

 
    Central 
    http://repo1.maven.org/maven2 
    central 
 

最后重新打包即可。maven build;


成功打包

你可能感兴趣的:(Maven打war包 RSA premaster secret error: SunTls12RsaPremasterSecret KeyGenerator not available)