建议使用idea运行

1、第一次运行访问http://localhost:8088/LuckyFrameServer

2、luckyframe提示“javax.net.ssl.SSLKeyException: RSA premaster secret error”解决方法

2018-06-26 15:19:04:628:main luckyclient.publicclass.remoterinterface.HttpClient
Helper.httpClientGet(HttpClientHelper.java:774) -
ERROR: RSA premaster secret error
javax.net.ssl.SSLKeyException: RSA premaster secret error
at sun.security.ssl.RSAClientKeyExchange.<init>(Unknown Source)
at sun.security.ssl.ClientHandshaker.serverHelloDone(Unknown Source)
at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
at sun.security.ssl.Handshaker.processLoop(Unknown Source)
at sun.security.ssl.Handshaker.process_record(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source
)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSock
et(SSLConnectionSocketFactory.java:396)
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSL
ConnectionSocketFactory.java:355)
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect
(DefaultHttpClientConnectionOperator.java:142)
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(
PoolingHttpClientConnectionManager.java:359)
at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClie
ntExec.java:381)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.
java:237)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java
:185)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java
:111)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttp
Client.java:185)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttp
Client.java:83)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttp
Client.java:108)
at luckyclient.publicclass.remoterinterface.HttpClientHelper.httpClientG
et(HttpClientHelper.java:765)
at luckyclient.publicclass.InvokeMethod.callCase(InvokeMethod.java:175)
at luckyclient.caserun.exinterface.WebTestCaseDebug.oneCaseDebug(WebTest
CaseDebug.java:98)
at luckyclient.caserun.WebDebugExecute.main(WebDebugExecute.java:27)
Caused by: java.security.NoSuchAlgorithmException: SunTls12RsaPremasterSecret Ke
yGenerator not available
at javax.crypto.KeyGenerator.<init>(KeyGenerator.java:169)
at javax.crypto.KeyGenerator.getInstance(KeyGenerator.java:223)
at sun.security.ssl.JsseJce.getKeyGenerator(Unknown Source)
... 25 more
2018-06-26 15:19:04:654:main luckyclient.publicclass.InvokeMethod.callCase(Invok
eMethod.java:261) -
ERROR: javax.net.ssl.SSLKeyException: RSA premaster secret error
java.lang.RuntimeException: javax.net.ssl.SSLKeyException: RSA premaster secret
error
at luckyclient.publicclass.remoterinterface.HttpClientHelper.httpClientG
et(HttpClientHelper.java:775)
at luckyclient.publicclass.InvokeMethod.callCase(InvokeMethod.java:175)
at luckyclient.caserun.exinterface.WebTestCaseDebug.oneCaseDebug(WebTest
CaseDebug.java:98)
at luckyclient.caserun.WebDebugExecute.main(WebDebugExecute.java:27)
Caused by: javax.net.ssl.SSLKeyException: RSA premaster secret error
at sun.security.ssl.RSAClientKeyExchange.<init>(Unknown Source)
at sun.security.ssl.ClientHandshaker.serverHelloDone(Unknown Source)
at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
at sun.security.ssl.Handshaker.processLoop(Unknown Source)
at sun.security.ssl.Handshaker.process_record(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source
)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSock
et(SSLConnectionSocketFactory.java:396)
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSL
ConnectionSocketFactory.java:355)
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect
(DefaultHttpClientConnectionOperator.java:142)
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(
PoolingHttpClientConnectionManager.java:359)
at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClie
ntExec.java:381)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.
java:237)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java
:185)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java
:111)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttp
Client.java:185)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttp
Client.java:83)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttp
Client.java:108)
at luckyclient.publicclass.remoterinterface.HttpClientHelper.httpClientG
et(HttpClientHelper.java:765)
... 3 more
Caused by: java.security.NoSuchAlgorithmException: SunTls12RsaPremasterSecret Ke
yGenerator not available
at javax.crypto.KeyGenerator.<init>(KeyGenerator.java:169)
at javax.crypto.KeyGenerator.getInstance(KeyGenerator.java:223)
at sun.security.ssl.JsseJce.getKeyGenerator(Unknown Source)
... 25 more
2018-06-26 15:19:04:680:main luckyclient.caserun.exinterface.WebTestCaseDebug.on
eCaseDebug(WebTestCaseDebug.java:101) -

把jre的包放在java -Djava.ext.dirs=./lib下

3打包client报错,应该先要关掉tomcat进程

Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:2.5: Could not transfer artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.5 from/to release-proxy (http://nexus.service.ops.welab.co:8081/nexus/content/groups/public): nexus.service.ops.welab.co: Unknown host nexus.service.ops.welab.co -> [He

最新文章

  1. Oracle索引重建
  2. 剑指Offer面试题:33.二叉树的深度
  3. 聊聊HTTPS和SSL/TLS协议
  4. html 网页文本设计
  5. K3已被禁用的基础资料如何显示出来
  6. Centos7下安装配置Redsocks
  7. .NET日常总结
  8. 22.整数二进制表示中1的个数[Get1BitCount]
  9. 作业一直&quot;执行&quot;
  10. CentOS7使用Redis
  11. java沙箱机制原理
  12. 异步编程设计模式Demo - AsyncComponentSample
  13. [Q]“获取AutoCAD安装信息时失败...”解决方法
  14. 【Android Developers Training】 31. 序言:共享简单数据
  15. CVE-2016-10190 FFmpeg Http协议 heap buffer overflow漏洞分析及利用
  16. [Swift]LeetCode459. 重复的子字符串 | Repeated Substring Pattern
  17. spark submit参数调优
  18. 1安装Linux
  19. 解决tomcat启动慢问题
  20. 一些小案例_C#

热门文章

  1. JDK 动态代理的实现
  2. Trie树相关博客
  3. LaTeX技巧005:定制自己炫酷的章节样式实例
  4. VScode usage
  5. MyEclipse 运行弹出A Java Exception has occurred.
  6. 未安装Oracle数据库,使用PL\SQL Developer连接远程数据库解决方案
  7. 转行小白成长路--java基础
  8. Java注释&amp;标识符
  9. Controller--&gt;View传值的几种方法
  10. Python2安装MySQLdb