ofbiz报了个错误,请大家帮忙看看

tomcat4.1.7服务器下,我用admin登陆ofbiz
进入party->Find Party 点击[Find All] ->[view Profile]
服务报错:
----- Root Cause -----
org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 548 in the jsp file: /party/viewprofile.jsp

Generated servlet error:
[javac] Compiling 1 source file
C:\ofbiz\tomcat\work\Standalone\localhost\partymgr\party\viewprofile$jsp.java:663: cannot resolve symbol
symbol : variable partyContactMechPurpose
location: class org.apache.jsp.viewprofile$jsp
org.ofbiz.core.entity.GenericValue _jspx_partyContactMechPurpose_1 = partyContactMechPurpose;

An error occurred at line: 548 in the jsp file: /party/viewprofile.jsp

Generated servlet error:
C:\ofbiz\tomcat\work\Standalone\localhost\partymgr\party\viewprofile$jsp.java:677: cannot resolve symbol
symbol : variable partyContactMechPurpose
location: class org.apache.jsp.viewprofile$jsp
partyContactMechPurpose = (org.ofbiz.core.entity.GenericValue) pageContext.findAttribute("partyContactMechPurpose");

An error occurred at line: 548 in the jsp file: /party/viewprofile.jsp

Generated servlet error:
C:\ofbiz\tomcat\work\Standalone\localhost\partymgr\party\viewprofile$jsp.java:681: cannot resolve symbol
symbol : variable partyContactMechPurpose
location: class org.apache.jsp.viewprofile$jsp
GenericValue contactMechPurposeType = partyContactMechPurpose.getRelatedOneCache("ContactMechPurposeType"); out.write("\n ");
^
An error occurred at line: 548 in the jsp file: /party/viewprofile.jsp

Generated servlet error:
C:\ofbiz\tomcat\work\Standalone\localhost\partymgr\party\viewprofile$jsp.java:689: cannot resolve symbol
symbol : variable partyContactMechPurpose
location: class org.apache.jsp.viewprofile$jsp
out.print(partyContactMechPurpose.getString("contactMechPurposeTypeId"));

An error occurred at line: 258 in the jsp file: /party/viewprofile.jsp

Generated servlet error:
C:\ofbiz\tomcat\work\Standalone\localhost\partymgr\party\viewprofile$jsp.java:696: cannot resolve symbol
symbol : variable partyContactMechPurpose
location: class org.apache.jsp.viewprofile$jsp
partyContactMechPurpose = (org.ofbiz.core.entity.GenericValue) pageContext.findAttribute("partyContactMechPurpose");
^
An error occurred at line: 607 in the jsp file: /party/viewprofile.jsp

Generated servlet error:
C:\ofbiz\tomcat\work\Standalone\localhost\partymgr\party\viewprofile$jsp.java:706: cannot resolve symbol
symbol : variable partyContactMechPurpose
location: class org.apache.jsp.viewprofile$jsp
partyContactMechPurpose = _jspx_partyContactMechPurpose_1;
^
6 errors

那位仁兄遇到过这种问题啊?
是不是我的tomcat没有配置好?

报的是jsp 错误,partyContactMechPurpose 变量没有找到,
你可以试试 去掉 partyContactMechPurpose ,看问题jsp能否显示。
然后在解决该问题。