本地eclipse测试推送失败。


(坑之以墨) #1

直接下载用,跑run as application 就报这个错误。

17/05/23 16:09:27 INFO connection.NativeHttpClient: Created instance with connectionTimeout 5,000, readTimeout 30,000, maxRetryTimes 3, SSL Version TLS
17/05/23 16:09:27 INFO connection.NativeHttpClient: Created instance with connectionTimeout 5,000, readTimeout 30,000, maxRetryTimes 3, SSL Version TLS
17/05/23 16:09:27 INFO connection.NativeHttpClient: Created instance with connectionTimeout 5,000, readTimeout 30,000, maxRetryTimes 3, SSL Version TLS
17/05/23 16:09:27 INFO connection.NativeHttpClient: Created instance with connectionTimeout 5,000, readTimeout 30,000, maxRetryTimes 3, SSL Version TLS
17/05/23 16:09:27 DEBUG connection.NativeHttpClient: Send request - POST https://api.jpush.cn/v3/push
17/05/23 16:09:27 DEBUG connection.NativeHttpClient: Request Content - {"platform":"all","audience":"all","notification":{"alert":"Test push"},"options":{"sendno":1667502032,"apns_production":false}}
17/05/23 16:09:27 DEBUG connection.NativeHttpClient: Connection IO error. 
Can not connect to JPush Server. Please ensure your internet connection is ok. 
If the problem persists, please let us know at support@jpush.cn.
javax.net.ssl.SSLException: java.lang.SecurityException: JCE cannot authenticate the provider SunJCE
	at sun.security.ssl.Alerts.getSSLException(Unknown Source)
	at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
	at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
	at sun.security.ssl.SSLSocketImpl.handleException(Unknown Source)
	at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
	at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
	at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
	at cn.jiguang.common.connection.NativeHttpClient._doRequest(NativeHttpClient.java:161)
	at cn.jiguang.common.connection.NativeHttpClient.doRequest(NativeHttpClient.java:99)
	at cn.jiguang.common.connection.NativeHttpClient.sendPost(NativeHttpClient.java:86)
	at cn.jpush.api.push.PushClient.sendPush(PushClient.java:163)
	at cn.jpush.api.JPushClient.sendPush(JPushClient.java:194)
	at cn.jpush.api.examples.DemoByOfficial.testPush(DemoByOfficial.java:32)
	at cn.jpush.api.examples.DemoByOfficial.main(DemoByOfficial.java:69)
Caused by: java.lang.SecurityException: JCE cannot authenticate the provider SunJCE
	at javax.crypto.Cipher.getInstance(Cipher.java:642)
	at java.security.Signature$Delegate.newInstance(Unknown Source)
	at java.security.Signature$Delegate.chooseProvider(Unknown Source)
	at java.security.Signature$Delegate.engineInitVerify(Unknown Source)
	at java.security.Signature.initVerify(Unknown Source)
	at sun.security.ssl.RSASignature.engineInitVerify(Unknown Source)
	at java.security.Signature$Delegate.init(Unknown Source)
	at java.security.Signature$Delegate.chooseProvider(Unknown Source)
	at java.security.Signature$Delegate.engineInitVerify(Unknown Source)
	at java.security.Signature.initVerify(Unknown Source)
	at sun.security.ssl.HandshakeMessage$DH_ServerKeyExchange.<init>(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)
	... 13 more
Caused by: java.util.jar.JarException: Class is on the bootclasspath
	at javax.crypto.JarVerifier.verify(JarVerifier.java:247)
	at javax.crypto.JceSecurity.verifyProviderJar(JceSecurity.java:161)
	at javax.crypto.JceSecurity.getVerificationResult(JceSecurity.java:187)
	at javax.crypto.JceSecurity.canUseProvider(JceSecurity.java:201)
	at javax.crypto.Cipher.getInstance(Cipher.java:499)
	at sun.security.ssl.JsseJce.getCipher(Unknown Source)
	at sun.security.ssl.CipherBox.<init>(Unknown Source)
	at sun.security.ssl.CipherBox.newCipherBox(Unknown Source)
	at sun.security.ssl.CipherSuite$BulkCipher.newCipher(Unknown Source)
	at sun.security.ssl.CipherSuite$BulkCipher.isAvailable(Unknown Source)
	at sun.security.ssl.CipherSuite$BulkCipher.isAvailable(Unknown Source)
	at sun.security.ssl.CipherSuite.isAvailable(Unknown Source)
	at sun.security.ssl.SSLContextImpl.getApplicableCipherSuiteList(Unknown Source)
	at sun.security.ssl.SSLContextImpl.getDefaultCipherSuiteList(Unknown Source)
	at sun.security.ssl.SSLSocketImpl.init(Unknown Source)
	at sun.security.ssl.SSLSocketImpl.<init>(Unknown Source)
	at sun.security.ssl.SSLSocketFactoryImpl.createSocket(Unknown Source)
	at sun.net.www.protocol.https.HttpsClient.createSocket(Unknown Source)
	at sun.net.NetworkClient.doConnect(Unknown Source)
	at sun.net.www.http.HttpClient.openServer(Unknown Source)
	at sun.net.www.http.HttpClient.openServer(Unknown Source)
	at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
	at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
	... 10 more
17/05/23 16:09:27 ERROR examples.DemoByOfficial: Connection error, should retry later
cn.jiguang.common.resp.APIConnectionException: Connection IO error. 
Can not connect to JPush Server. Please ensure your internet connection is ok. 
If the problem persists, please let us know at support@jpush.cn.
	at cn.jiguang.common.connection.NativeHttpClient._doRequest(NativeHttpClient.java:249)
	at cn.jiguang.common.connection.NativeHttpClient.doRequest(NativeHttpClient.java:99)
	at cn.jiguang.common.connection.NativeHttpClient.sendPost(NativeHttpClient.java:86)
	at cn.jpush.api.push.PushClient.sendPush(PushClient.java:163)
	at cn.jpush.api.JPushClient.sendPush(JPushClient.java:194)
	at cn.jpush.api.examples.DemoByOfficial.testPush(DemoByOfficial.java:32)
	at cn.jpush.api.examples.DemoByOfficial.main(DemoByOfficial.java:69)
Caused by: javax.net.ssl.SSLException: java.lang.SecurityException: JCE cannot authenticate the provider SunJCE
	at sun.security.ssl.Alerts.getSSLException(Unknown Source)
	at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
	at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
	at sun.security.ssl.SSLSocketImpl.handleException(Unknown Source)
	at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
	at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
	at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
	at cn.jiguang.common.connection.NativeHttpClient._doRequest(NativeHttpClient.java:161)
	... 6 more
Caused by: java.lang.SecurityException: JCE cannot authenticate the provider SunJCE
	at javax.crypto.Cipher.getInstance(Cipher.java:642)
	at java.security.Signature$Delegate.newInstance(Unknown Source)
	at java.security.Signature$Delegate.chooseProvider(Unknown Source)
	at java.security.Signature$Delegate.engineInitVerify(Unknown Source)
	at java.security.Signature.initVerify(Unknown Source)
	at sun.security.ssl.RSASignature.engineInitVerify(Unknown Source)
	at java.security.Signature$Delegate.init(Unknown Source)
	at java.security.Signature$Delegate.chooseProvider(Unknown Source)
	at java.security.Signature$Delegate.engineInitVerify(Unknown Source)
	at java.security.Signature.initVerify(Unknown Source)
	at sun.security.ssl.HandshakeMessage$DH_ServerKeyExchange.<init>(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)
	... 13 more
Caused by: java.util.jar.JarException: Class is on the bootclasspath
	at javax.crypto.JarVerifier.verify(JarVerifier.java:247)
	at javax.crypto.JceSecurity.verifyProviderJar(JceSecurity.java:161)
	at javax.crypto.JceSecurity.getVerificationResult(JceSecurity.java:187)
	at javax.crypto.JceSecurity.canUseProvider(JceSecurity.java:201)
	at javax.crypto.Cipher.getInstance(Cipher.java:499)
	at sun.security.ssl.JsseJce.getCipher(Unknown Source)
	at sun.security.ssl.CipherBox.<init>(Unknown Source)
	at sun.security.ssl.CipherBox.newCipherBox(Unknown Source)
	at sun.security.ssl.CipherSuite$BulkCipher.newCipher(Unknown Source)
	at sun.security.ssl.CipherSuite$BulkCipher.isAvailable(Unknown Source)
	at sun.security.ssl.CipherSuite$BulkCipher.isAvailable(Unknown Source)
	at sun.security.ssl.CipherSuite.isAvailable(Unknown Source)
	at sun.security.ssl.SSLContextImpl.getApplicableCipherSuiteList(Unknown Source)
	at sun.security.ssl.SSLContextImpl.getDefaultCipherSuiteList(Unknown Source)
	at sun.security.ssl.SSLSocketImpl.init(Unknown Source)
	at sun.security.ssl.SSLSocketImpl.<init>(Unknown Source)
	at sun.security.ssl.SSLSocketFactoryImpl.createSocket(Unknown Source)
	at sun.net.www.protocol.https.HttpsClient.createSocket(Unknown Source)
	at sun.net.NetworkClient.doConnect(Unknown Source)
	at sun.net.www.http.HttpClient.openServer(Unknown Source)
	at sun.net.www.http.HttpClient.openServer(Unknown Source)
	at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
	at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
	... 10 more

----设置了host之后(113.31.17.107 api.jpush.cn)-----
17/05/23 16:26:30 INFO connection.NativeHttpClient: Created instance with connectionTimeout 5,000, readTimeout 30,000, maxRetryTimes 3, SSL Version TLS
17/05/23 16:26:30 INFO connection.NativeHttpClient: Created instance with connectionTimeout 5,000, readTimeout 30,000, maxRetryTimes 3, SSL Version TLS
17/05/23 16:26:30 INFO connection.NativeHttpClient: Created instance with connectionTimeout 5,000, readTimeout 30,000, maxRetryTimes 3, SSL Version TLS
17/05/23 16:26:30 INFO connection.NativeHttpClient: Created instance with connectionTimeout 5,000, readTimeout 30,000, maxRetryTimes 3, SSL Version TLS
17/05/23 16:26:30 DEBUG connection.NativeHttpClient: Send request - POST https://api.jpush.cn/v3/push
17/05/23 16:26:30 DEBUG connection.NativeHttpClient: Request Content - {"platform":"all","audience":"all","notification":{"alert":"Test push"},"options":{"sendno":479996156,"apns_production":false}}
17/05/23 16:26:35 DEBUG connection.NativeHttpClient: connect timed out - retry again - 1
17/05/23 16:26:35 DEBUG connection.NativeHttpClient: Send request - POST https://api.jpush.cn/v3/push
17/05/23 16:26:35 DEBUG connection.NativeHttpClient: Request Content - {"platform":"all","audience":"all","notification":{"alert":"Test push"},"options":{"sendno":479996156,"apns_production":false}}
17/05/23 16:26:40 DEBUG connection.NativeHttpClient: connect timed out - retry again - 2
17/05/23 16:26:40 DEBUG connection.NativeHttpClient: Send request - POST https://api.jpush.cn/v3/push
17/05/23 16:26:40 DEBUG connection.NativeHttpClient: Request Content - {"platform":"all","audience":"all","notification":{"alert":"Test push"},"options":{"sendno":479996156,"apns_production":false}}
17/05/23 16:26:45 DEBUG connection.NativeHttpClient: connect timed out - retry again - 3
17/05/23 16:26:45 DEBUG connection.NativeHttpClient: Send request - POST https://api.jpush.cn/v3/push
17/05/23 16:26:45 DEBUG connection.NativeHttpClient: Request Content - {"platform":"all","audience":"all","notification":{"alert":"Test push"},"options":{"sendno":479996156,"apns_production":false}}
17/05/23 16:26:50 ERROR examples.DemoByOfficial: Connection error, should retry later
cn.jiguang.common.resp.APIConnectionException: connect timed out. 
Connect to JPush Server timed out, and already retried some times. 
Please ensure your internet connection is ok. 
If the problem persists, please let us know at support@jpush.cn.
	at cn.jiguang.common.connection.NativeHttpClient.doRequest(NativeHttpClient.java:107)
	at cn.jiguang.common.connection.NativeHttpClient.sendPost(NativeHttpClient.java:86)
	at cn.jpush.api.push.PushClient.sendPush(PushClient.java:163)
	at cn.jpush.api.JPushClient.sendPush(JPushClient.java:194)
	at cn.jpush.api.examples.DemoByOfficial.testPush(DemoByOfficial.java:32)
	at cn.jpush.api.examples.DemoByOfficial.main(DemoByOfficial.java:69)
Caused by: java.net.SocketTimeoutException: connect timed out
	at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
	at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
	at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
	at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
	at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
	at java.net.PlainSocketImpl.connect(Unknown Source)
	at java.net.SocksSocketImpl.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
	at sun.net.NetworkClient.doConnect(Unknown Source)
	at sun.net.www.http.HttpClient.openServer(Unknown Source)
	at sun.net.www.http.HttpClient.openServer(Unknown Source)
	at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
	at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
	at cn.jiguang.common.connection.NativeHttpClient._doRequest(NativeHttpClient.java:161)
	at cn.jiguang.common.connection.NativeHttpClient.doRequest(NativeHttpClient.java:99)
	... 5 more

#2

此问题与极光无关,,请搜索解决
https://community.oracle.com/thread/1530313

检查是否网络限制,请开通443、80端口


(坑之以墨) #3

我英文阅读能力有限,我在看这个链接。

但是端口这个问题我试了几次,还没解决。不知道有没有好的建议?
我是win10的,试了在防火墙那边打开443。但是cmd在telnet 127.0.0.1 443 报错了:
正在连接127.0.0.1…无法打开到主机的连接。 在端口 443: 连接失败,其中包括80 8080都是报这样的错误,可是我明明在防火墙设置那边打开了端口了。
我开启tomcat却能够telnet 127.0.0.1 8080 一下子就进去了。


#4

依旧检查网络
1.ping api.jpush.cn
2.nslookup api.jpush.cn
3.telnet api.jpush.cn 8800
4.telnet api.jpush.cn 443


(坑之以墨) #5

依旧检查网络
1.ping api.jpush.cn
我这边ping通了,没问题。
2.nslookup api.jpush.cn
服务器: public1.114dns.com
Address: 114.114.114.114

非权威应答:
名称: api.jpush.cn
Address: 121.46.20.48
3.telnet api.jpush.cn 8800
这个直接进去了。不会报连接不到主机或者端口的错误。
4.telnet api.jpush.cn 443
这个也直接进去了。不会报连接不到主机或者端口的错误。


#6

那你现在请求还报错吗

不要host绑定IP,直接开通443、80后用域名访问,实在要绑定IP的话把那三个都写上吧


(坑之以墨) #7
17/05/23 17:08:42 ERROR examples.PushExample: Sendno: 2113922661
耗时58毫秒 sendCount:571
17/05/23 17:08:42 DEBUG connection.NativeHttpClient: Send request - POST https://api.jpush.cn/v3/push
17/05/23 17:08:42 DEBUG connection.NativeHttpClient: Request Content - {"platform":"all","audience":{"registration_id":["18071adc030dcba91c0"]},"notification":{"android":{"alert":"Test from API Example - alert","builder_id":1,"title":"Alert test","style":1,"big_text":"long text","inbox":{"line1":"line1 string","line2":"line2 string","contentTitle":"title string","summaryText":"+3 more"},"big_pic_path":"path to big picture","priority":1,"category":"CATEGORY_SOCIAL"}},"options":{"sendno":2113922661,"apns_production":false}}
17/05/23 17:08:42 DEBUG connection.NativeHttpClient: Connection IO error. 
Can not connect to JPush Server. Please ensure your internet connection is ok. 
If the problem persists, please let us know at support@jpush.cn.
javax.net.ssl.SSLException: java.lang.SecurityException: JCE cannot authenticate the provider SunJCE
	at sun.security.ssl.Alerts.getSSLException(Unknown Source)
	at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
	at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
	at sun.security.ssl.SSLSocketImpl.handleException(Unknown Source)
	at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
	at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
	at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
	at cn.jiguang.common.connection.NativeHttpClient._doRequest(NativeHttpClient.java:161)
	at cn.jiguang.common.connection.NativeHttpClient.doRequest(NativeHttpClient.java:99)
	at cn.jiguang.common.connection.NativeHttpClient.sendPost(NativeHttpClient.java:86)
	at cn.jpush.api.push.PushClient.sendPush(PushClient.java:163)
	at cn.jpush.api.JPushClient.sendPush(JPushClient.java:194)
	at cn.jpush.api.examples.PushExample$2.run(PushExample.java:98)
Caused by: java.lang.SecurityException: JCE cannot authenticate the provider SunJCE
	at javax.crypto.Cipher.getInstance(Cipher.java:642)
	at java.security.Signature$Delegate.newInstance(Unknown Source)
	at java.security.Signature$Delegate.chooseProvider(Unknown Source)
	at java.security.Signature$Delegate.engineInitVerify(Unknown Source)
	at java.security.Signature.initVerify(Unknown Source)
	at sun.security.ssl.RSASignature.engineInitVerify(Unknown Source)
	at java.security.Signature$Delegate.init(Unknown Source)
	at java.security.Signature$Delegate.chooseProvider(Unknown Source)
	at java.security.Signature$Delegate.engineInitVerify(Unknown Source)
	at java.security.Signature.initVerify(Unknown Source)
	at sun.security.ssl.HandshakeMessage$DH_ServerKeyExchange.<init>(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)
	... 12 more

host没改,正在连接127.0.0.1…无法打开到主机的连接。 在端口 443: 连接失败,正在连接127.0.0.1…无法打开到主机的连接。 在端口 80: 连接失败。 我连接自己电脑有问题,连接极光的8800和443没问题。


(坑之以墨) #8

我这个应用的推送设置,只设置了安卓。没有设置苹果和winphone的。而且我的代码在其他电脑的eclipse上跑可以跑。推送成功了。

17/05/23 17:14:25 INFO connection.NativeHttpClient: Created instance with connectionTimeout 5,000, readTimeout 30,000, maxRetryTimes 3, SSL Version TLS
17/05/23 17:14:25 INFO connection.NativeHttpClient: Created instance with connectionTimeout 5,000, readTimeout 30,000, maxRetryTimes 3, SSL Version TLS
17/05/23 17:14:25 INFO connection.NativeHttpClient: Created instance with connectionTimeout 5,000, readTimeout 30,000, maxRetryTimes 3, SSL Version TLS
17/05/23 17:14:25 INFO connection.NativeHttpClient: Created instance with connectionTimeout 5,000, readTimeout 30,000, maxRetryTimes 3, SSL Version TLS
17/05/23 17:14:25 DEBUG connection.NativeHttpClient: Send request - POST https://api.jpush.cn/v3/push
17/05/23 17:14:25 DEBUG connection.NativeHttpClient: Request Content - {"platform":"all","audience":"all","notification":{"alert":"Test push"},"options":{"sendno":1236564091,"apns_production":false}}
17/05/23 17:14:25 DEBUG resp.ResponseWrapper: JPush API Rate Limiting params - quota:600, remaining:599, reset:60
17/05/23 17:14:25 DEBUG connection.NativeHttpClient: Succeed to get response OK - responseCode:200
17/05/23 17:14:25 DEBUG connection.NativeHttpClient: Response Content - {"sendno":"1236564091","msg_id":"1825833343"}
17/05/23 17:14:25 INFO examples.DemoByOfficial: Got result - {"msg_id":1825833343,"sendno":1236564091,"statusCode":0}

#9

额,那貌似是你的电脑设置的问题?

这个网上搜下
https://zhidao.baidu.com/question/394511738782972045.html


(坑之以墨) #10

搞了3-4天了,好多路感觉走下去就是不归路。。。


#11

根据这个,我查了下,
先配置好你工程使用的jdk环境,不要配置jre


(坑之以墨) #12

正解!我把jre的环境改成JDK一下子就好了,多谢。
顺便说一下,你是我见过的最积极最好的技术解答。
回头看了下,你提供的这几个解决方案实用性很强。