首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 开源软件 >

ofbiz 之部署常见异常集锦

2012-06-28 
ofbiz 之部署常见错误集锦本文以ofbiz 11.04 为蓝本:1:?? 错误描述:?? Multiple markers at this line?- i

ofbiz 之部署常见错误集锦

本文以ofbiz 11.04 为蓝本:

1:

?? 错误描述:

?? Multiple markers at this line
?- implements com.sunyard.cpsp.base.biz.IBizFlowService.prepare
?- The method prepare() of type CheckInquiryService must override a superclass?
? 如果某一天你发现你的Eclipse 中 override 方法集体报上述错误的时候,那么你的Eclipse java编译版本低了。

?? 解决办法:
?? 右键项目-->properties---->java compiler 中将Compiler compiance settings 设为1.6

?? 这个错误一般发生在低级Eclipse版本中,当然偶尔也会发生在高级版本中。

2:

?? 错误描述:

?? The method getContextPath() is undefined for the type ServletContext

???framework\webapp\src\org\ofbiz\webapp\control\ControlServlet.java? 78行
???解决办法:

?? 发生这个错误的原因是由于.classpath中
?? <classpathentry kind="lib" path="framework/base/lib/j2eespecs/tomcat-6.0.32-servlet-api.jar"/>

?? <classpathentry exported="true" kind="con" path="GROOVY_SUPPORT"/> 这两者的位置造成的。

?? 把GROOVY_SUPPORT 的配置 放到tomcat-6.0.32-servlet-api.jar下面就可以了? .

3:

?? 错误描述:

热点排行