gwt-test-utils 与龙目岛

gwt-test-utils with Lombok

如何说服 gwt-test-utils 使用 Lombok,以便我的 @Getter 方法确实存在当 运行 一个 GwtSpringTest?

22:55:09,153 ERROR GwtTreeLogger:60 - Line 67:
The method getLoginService() is undefined for the type LoginBox

登录框:

@Getter(lazy=true)
private final LoginSvcAsync loginService = loginService();

希望GWT Setup instructions能帮到你:

Edit your proj-debug and proj-compile batch scripts to add the following VM arguments:

java -javaagent:lombok.jar=ECJ (rest of arguments)

披露:我是 Lombok 开发人员。