ofbiz导入eclipse报错解决方法

错误一:Description Resource Path Location Type Project 'apache-ofbiz-10.04.03' is missing required source folder: 'framework/base/build/gen-src/javacc' apache-ofbiz-10.04.03 Build path Build Path Problem


Description Resource Path Location Type

Project 'apache-ofbiz-10.04.03' is missing required source folder: 'framework/sql/build/gen-src/javacc' apache-ofbiz-10.04.03 Build path Build Path Problem


解决办法:首先根目录build.xml----run as ---ant build,其次把framework/base/config放到类加载路径,build path
可能出现的错误:
config.getServletContext().getContextPath()
 urlBuilder.append(request.getSession().getServletContext().getContextPath());等报错
原因一:servlet版本过低,解决方法:http://blog.csdn.net/lifeihu/article/details/7792401
原因二:你安装了groovy插件,导致eclipse自动去查找groovy插件里的jre了,但是找不到
解决办法,在build path 里把groovy的jre删除

最后别忘了修改framework/entity/config/entityengine.xml

猜你喜欢

转载自monk007.iteye.com/blog/1740664
今日推荐