jiakuan / gwt-gradle-plugin

Gradle plugin to support GWT related tasks.
https://gwt-gradle.docstr.org
Other
66 stars 34 forks source link

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

Closed rakeshk6842 closed 2 weeks ago

rakeshk6842 commented 4 years ago

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)

jiakuan commented 4 years ago

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

rakeshk6842 commented 4 years ago

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

jiakuan commented 2 years ago

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

jiakuan commented 2 weeks ago

Out of date, please check v2