gwt-gradle-plugin icon indicating copy to clipboard operation
gwt-gradle-plugin copied to clipboard

couldn't make it work with jdk11, gradle6.6 and gwt-2.9.0 keep getting below errors

Open rakeshk6842 opened this issue 5 years ago • 3 comments

17:39:32 Loading inherited module 'com.google.gwt.user.User' 17:39:32 Loading inherited module 'com.google.gwt.event.Event' 17:39:32 Loading inherited module 'com.google.gwt.dom.DOM' 17:39:32 Loading inherited module 'com.google.gwt.safehtml.SafeHtml' 17:39:32 Loading inherited module 'com.google.gwt.http.HTTP' 17:39:32 Loading inherited module 'com.google.gwt.user.Timer' 17:39:32 [ERROR] Line 19: Unexpected exception while processing element 'source' 17:39:32 java.lang.NoClassDefFoundError: org/apache/tools/ant/types/ZipScanner 17:39:32 at com.google.gwt.dev.resource.impl.DefaultFilters.getScanner(DefaultFilters.java:240) 17:39:32 at com.google.gwt.dev.resource.impl.DefaultFilters$4.(DefaultFilters.java:371)

rakeshk6842 avatar Nov 12 '20 22:11 rakeshk6842

Looks like a classpath conflict? Are you able to find this class org/apache/tools/ant/types/ZipScanner in your classpath?

jiakuan avatar Nov 13 '20 02:11 jiakuan

it was there and everything works fine in jdk8 but while trying in jdk11 it's failing

rakeshk6842 avatar Nov 13 '20 02:11 rakeshk6842

A sample project of using JDK 11 has been arranged in #59

jiakuan avatar Apr 20 '22 00:04 jiakuan