ofbiz导入eclipse报错解决方法

来源:互联网 发布:sql指定的账户已存在 编辑:程序博客网 时间:2024/05/21 19:40

错误一:DescriptionResourcePathLocationType Project 'apache-ofbiz-10.04.03' is missing required source folder: 'framework/base/build/gen-src/javacc'apache-ofbiz-10.04.03Build pathBuild Path Problem


DescriptionResourcePathLocationType

Project 'apache-ofbiz-10.04.03' is missing required source folder: 'framework/sql/build/gen-src/javacc'apache-ofbiz-10.04.03Build pathBuild 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

 

转自:http://monk007.iteye.com/blog/1740664

0 0
原创粉丝点击