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