使用grails GWT 插件时,我无法刷新我的依赖项。
我插入
compile ":gwt:0.8"
进入我的 BuildConfig.groovy 并运行:grails refresh-dependencies。我的 Grails 版本是 2.3M1。
该过程因以下错误而停止。我该如何解决?
| Loading Grails 2.3.0.M1
| Configuring classpath.
| Environment set to development.....
Gwt version 2.5.0 requested, downloading required dependencies
| Error Error loading event script from file [/Users/mg/Documents/Grails/GGTS-3.3M1- JUNO-4.2.2/testg23/target/work/plugins/gwt-0.8/scripts/_Events.groovy] No such property: resolveEngine for class: org.codehaus.groovy.grails.resolve.maven.aether.AetherDependencyManager (Use --stacktrace to see the full trace)
| Compiling 17 source files.
| Error Compilation error: startup failed:
Compile error during compilation with javac.
/Users/mg/Documents/Grails/GGTS-3.3M1-JUNO-4.2.2/testg23/target/work/plugins/gwt-0.8/src/java/grails/plugins/gwt/client/GwtActionService.java:3: error: package com.google.gwt.user.client.rpc does not exist
import com.google.gwt.user.client.rpc.RemoteService;
/Users/mg/Documents/Grails/GGTS-3.3M1-JUNO-4.2.2/testg23/target/work/plugins/gwt-0.8/src/java/grails/plugins/gwt/client/GwtActionService.java:12: error: cannot find symbol
public interface GwtActionService extends RemoteService {
symbol: class RemoteService
/Users/mg/Documents/Grails/GGTS-3.3M1-JUNO-4.2.2/testg23/target/work/plugins/gwt-0.8/src/java/grails/plugins/gwt/client/GwtActionServiceAsync.java:3: error: package com.google.gwt.user.client.rpc does not exist
import com.google.gwt.user.client.rpc.AsyncCallback;
/Users/mg/Documents/Grails/GGTS-3.3M1-JUNO-4.2.2/testg23/target/work/plugins/gwt- 0.8/src/java/grails/plugins/gwt/client/GwtActionServiceAsync.java:11: error: cannot find symbol
void execute(Action action, AsyncCallback callback);
symbol: class AsyncCallback
location: interface GwtActionServiceAsync
Note: /Users/mg/Documents/Grails/GGTS-3.3M1-JUNO-4.2.2/testg23/target/work/plugins/gwt-0.8/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