首页 > 解决方案 > 尝试设置 GWT 项目时未找到注释处理器“com.google.web.bindery.requestfactory.apt.RfValidator”错误

问题描述

尝试在 Intellij Idea 中设置现有项目时出现“com.google.web.bindery.requestfactory.apt.rfvalidator' not found”错误

在类路径中包含所有 web.binery.apt、客户端和服务器库,但仍然无法解决相同的问题。

提前致谢。

标签: javaintellij-ideagwtgxt

解决方案


IntelliJ IDEA菜单中选择Preferences > Build, Execution, Deployment > Compiler > Annotation Processors。选择处理器路径:单选按钮并将路径设置为 requestfactory-apt.jar 的完整路径。对我来说,路径是/Users/myusername/dev/gwt-2.8.0/requestfactory-apt.jar


推荐阅读