Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 0.6
-
Fix Version/s: 0.8
-
Labels:None
-
Environment:Grails 2.0.0.RC1
Description
I'm trying to use the new Ivy based dependency resolution mechanism for GWT that was introduced in 0.6 (see this group post: http://groups.google.com/group/grails-gwt/browse_thread/thread/c3107b73c38e621e)
Settings in the BuildConfig:
gwt {
version = "2.4.0"
gin.version = "1.5.0"
}
Here is the plain output issuing the following command: grails compile
| Environment set to development..... Gwt version 2.4.0 requested, downloading required dependencies Added Google Gin 1.5.0 to GWT environment | Compiling 85 source files. | Error Compilation error: startup failed: Compile error during compilation with javac. C:\Users\bwolff\.grails\2.0.0.RC1\projects\Etrace\plugins\gwt-0.6.1\src\java\grails\plugins\gwt\client\GwtActionService.java:3: package com.google.gwt.user.client.rpc does not exist import com.google.gwt.user.client.rpc.RemoteService; ^ C:\Users\bwolff\.grails\2.0.0.RC1\projects\Etrace\plugins\gwt-0.6.1\src\java\grails\plugins\gwt\client\GwtActionService.java:12: cannot find symbol symbol: class RemoteService public interface GwtActionService extends RemoteService { ^ C:\Users\bwolff\.grails\2.0.0.RC1\projects\Etrace\plugins\gwt-0.6.1\src\java\grails\plugins\gwt\client\GwtActionServiceAsync.java:3: package com.google.gwt.user.client.rpc does not exist import com.google.gwt.user.client.rpc.AsyncCallback; ^ C:\Users\bwolff\.grails\2.0.0.RC1\projects\Etrace\plugins\gwt-0.6.1\src\java\grails\plugins\gwt\client\GwtActionServiceAsync.java:11: cannot find symbol symbol : class AsyncCallback location: interface grails.plugins.gwt.client.GwtActionServiceAsync <T extends Response> void execute(Action<T> action, AsyncCallback<T> callback); ^ Note: C:\Users\bwolff\.grails\2.0.0.RC1\projects\Etrace\plugins\spring-security-acl-1.1\src\java\org\codehaus\groovy\grails\plugins\springsecurity\acl\ProxyUtils.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: C:\Users\bwolff\.grails\2.0.0.RC1\projects\Etrace\plugins\gwt-0.6.1\src\java\org\codehaus\groovy\grails\plugins\gwt\XMLJUnitResultFormatter.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 4 errors 1 error
It is as if the GWT are not present in the classpath, also the GWT is supposed to add them?!
These are the measures I tried without success:
- Make sure GWT_HOME env var is not set
- Issued several grails clean before
- Deleted the <homedir>/.grails folder