2016-11-01 3 views
1

새로 출시 된 구아바 20으로 업그레이드하려고합니다. gwt 컴파일을 수행 할 때이 예외가 발생합니다. 구아바 20으로 업그레이드하기 전에 오류가 발생하지 않았습니다. gwt 2.8.0을 사용하고 있습니다. 참조해야 할 모듈이 있습니까? 매우 감사!guava로 컴파일 할 때 gwt 2.8 예외가 throw됩니다. 20

[INFO] Tracing compile failure path for type 'java.util.concurrent.Future' 
[INFO]  [ERROR] Errors in 'jar:file:/Users/Eric/.m2/repository/com/google/guava/guava-gwt/20.0/guava-gwt-20.0.jar!/java/util/super/java/util/concurrent/Future.java' 
[INFO]   [ERROR] Line 32: No source code is available for type java.lang.InterruptedException; did you forget to inherit a required module? 
[INFO] Tracing compile failure path for type 'java.util.concurrent.CountDownLatch' 
[INFO]  [ERROR] Errors in 'jar:file:/Users/Eric/.m2/repository/com/google/guava/guava-gwt/20.0/guava-gwt-20.0.jar!/java/util/super/java/util/concurrent/CountDownLatch.java' 
[INFO]   [ERROR] Line 30: No source code is available for type java.lang.InterruptedException; did you forget to inherit a required module? 
[INFO] [ERROR] Aborting compile due to errors in some input files 
+0

흠, 이것이 구아바 버그 일 가능성이 높습니다. '.gwt.xml' 파일에''을 추가 할 수 있습니까? –

+1

동일한 문제가 발생했습니다.''이 항상 도움이되는 것은 아닙니다. 방금 구아바 버그 [# 2622] (https://github.com/google/guava/issues/2622)를 만들었습니다. 결과가 무엇인지 봅시다. – Ciaccia

+0

# 2622는 다른 문제처럼 들리지만 (나는 이것도 살펴볼 것입니다 - 감사합니다). 원래의 포스터에서 ''줄이 도움이되는지 여부를 듣는 것이 좋을 것입니다. –

답변

0

이것은 a Guava bug 인 것으로 보입니다. 문제가 해결 될 때까지 .gwt.xml<inherits name="java.lang.Lang"/>을 추가하면 문제를 해결할 수 있습니다.