2016-07-07 1 views
0

IDEA 16에서 jrebel 플러그인을 다운로드하고 라이센스를 얻었습니다. 나는 "jrebel 실행"버튼을 내 응용 프로그램을 실행할 때, 나는 다음과 같은 출력을 가지고 :IDEA 16 및 Tomcat 9에서 JRebel 6.4.6 플러그인이 작동하지 않았습니다.

2016-07-07 13:40:18 JRebel: 
2016-07-07 13:40:18 JRebel: ############################################################# 
2016-07-07 13:40:18 JRebel: 
2016-07-07 13:40:18 JRebel: JRebel Agent 6.4.6 (201606221135) 
2016-07-07 13:40:18 JRebel: (c) Copyright ZeroTurnaround AS, Estonia, Tartu. 
2016-07-07 13:40:18 JRebel: 
2016-07-07 13:40:18 JRebel: Over the last 1 days JRebel prevented 
2016-07-07 13:40:18 JRebel: at least 0 redeploys/restarts saving you about 0 hours. 
2016-07-07 13:40:18 JRebel: 
2016-07-07 13:40:18 JRebel: License acquired from License Server: http://xxxxx.xxx.xxx 
2016-07-07 13:40:18 JRebel: 
2016-07-07 13:40:18 JRebel: Licensed to xxx. 
2016-07-07 13:40:18 JRebel: 
2016-07-07 13:40:18 JRebel: 
2016-07-07 13:40:18 JRebel: ############################################################# 
2016-07-07 13:40:18 JRebel: 

을이

2016-07-07 13:40:20 JRebel: Directory 'E:\IdeaProjects\baobiao\target\classes' will be monitored for changes. 
2016-07-07 13:40:20 JRebel: Directory 'E:\IdeaProjects\baobiao\src\main\webapp' will be monitored for changes. 

하지만 스프링 requestmapping 주석을 수정 테스트 할 때, 그것은 작동하지 않았다. 서버 출력에 "JRebel : reloading class ..."단어가 표시되지 않았습니다. 그래서 jrebel.log을 열고 거기에 오류가 발생했습니다 :

2016-07-07 13:40:34.737 INFO [13] [Licensing] Trying licenseServer licensing .. 
2016-07-07 13:40:34.737 DEBUG [13] [Licensing] greedy: true, forStatusCheck: false 
2016-07-07 13:40:34.737 DEBUG [13] [Licensing-LS] No offline lease found from local storage 
2016-07-07 13:40:34.737 INFO [13] [Licensing-LS] Contacting license server 
2016-07-07 13:40:34.737 INFO [13] [Licensing-LS] doAcquireLease to http://xxx.xxxxx.xxx .. 
2016-07-07 13:40:34.809 DEBUG [13] [Licensing-LS] License server protocol 1.0+. 
2016-07-07 13:40:34.809 INFO [13] [Licensing-LS] License registered to xxx. License type: LS_MANAGED, LS version: 3.1.3, LS guid: null 
2016-07-07 13:40:34.811 DEBUG [13] [Licensing-LS] License orderId , zero-ids: [] 
2016-07-07 13:40:34.813 INFO [13] [Licensing-LS] Lease successfully acquired. Lease: [email protected][leaseId=1,offline=false,clientRandomness=dFyq4vacuNQ=,serverRandomness=H2ulzLlh7E0=,validFrom=Thu Jul 07 13:40:34 CST 2016,validUntil=Thu Jul 07 14:40:34 CST 2016] 
2016-07-07 13:40:34.813 INFO [13] [Licensing-LS] Trying to acquire the failover URL .. 
2016-07-07 13:40:34.878 DEBUG [13] [Licensing-LS] License Server failover not configured. 
2016-07-07 13:40:34.880 ERROR [13] [Licensing] Exception occurred while initializing license server licensing: java.lang.IllegalThreadStateException 
    at java.lang.Thread.start(Thread.java:705) 
    at com.zeroturnaround.javarebel.gw.d(SourceFile:420) 
    at com.zeroturnaround.javarebel.gw.a(SourceFile:92) 
    at com.zeroturnaround.javarebel.iq.a(SourceFile:95) 
    at com.zeroturnaround.javarebel.iq.a(SourceFile:57) 
    at com.zeroturnaround.javarebel.in.a(SourceFile:79) 
    at com.zeroturnaround.javarebel.SDKLicensingImpl.findAndValidateLicenseFromSource(SourceFile:543) 
    at com.zeroturnaround.javarebel.SDKLicensingImpl.getLicenseInfo(SourceFile:73) 
    at com.zeroturnaround.javarebel.or.getLicenceInfo(SourceFile:46) 
    at org.zeroturnaround.javarebel.reporting.MixpanelMetrics$3.build(SourceFile:133) 
    at org.zeroturnaround.javarebel.reporting.MixpanelMetrics$12.run(SourceFile:256) 
    at org.zeroturnaround.javarebel.reporting.MetricsExecutor.run(SourceFile:58) 
    at java.lang.Thread.run(Thread.java:745) 

나는 오랜 시간 동안이 질문을 봤 아직도 그것에 대해 아무 생각이 한 사람이 도움을 줄 수있다는? 매우 감사합니다!

+0

JRebel의 버그와 유사합니다. 면허가 있으면 기술 지원을 요청해야합니다. –

답변

1

임시 해결 방법은 offline lease을하는 것이 아니라 예외가 발생하는 않은 이유를 해결하기 위해,이 스레드에 대한 링크와 함께 [email protected]에 대한 추적 수준 jrebel.log을 (서버 JVM 인수에 -Drebel.log=trace 추가) 보낼 것입니다. 로그에 대해 궁금한 점이 있으시면 manual을 참조하십시오.