[opencms-dev] Generated servlet error

Dominik Roblek droblek at yahoo.com
Sat Nov 27 08:41:05 CET 2004


I've just installed the OpenCms version 6.0 alpha 2.
setup finished correctly but now when I tried to open
any of the demo pages in OpenCms Workplace I always
got the following error show below. What could be
wrong here?

---
Unable to compile class for JSP 

Generated servlet error: 
C:\java\tomcat-5.0\work\Catalina\localhost\opencms\org\apache\jsp\WEB_002dINF\jsp\offline\system\modules\org_opencms_frontend_templateone\templates\main_jsp.java:7:
package org.opencms.frontend.templateone does not
exist 
import org.opencms.frontend.templateone.*; 
^ 


An error occurred at line: 1 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone/templates/main.jsp

Generated servlet error: 
C:\java\tomcat-5.0\work\Catalina\localhost\opencms\org\apache\jsp\WEB_002dINF\jsp\offline\system\modules\org_opencms_frontend_templateone\templates\main_jsp.java:45:
cannot resolve symbol 
symbol : class CmsTemplateBean 
location: class
org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.org_opencms_frontend_templateone.templates.main_jsp

CmsTemplateBean cms = new CmsTemplateBean(pageContext,
request, response); 
^ 


An error occurred at line: 1 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone/templates/main.jsp

Generated servlet error: 
C:\java\tomcat-5.0\work\Catalina\localhost\opencms\org\apache\jsp\WEB_002dINF\jsp\offline\system\modules\org_opencms_frontend_templateone\templates\main_jsp.java:45:
cannot resolve symbol 
symbol : class CmsTemplateBean 
location: class
org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.org_opencms_frontend_templateone.templates.main_jsp

CmsTemplateBean cms = new CmsTemplateBean(pageContext,
request, response); 
^ 


An error occurred at line: 1 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone/templates/main.jsp

Generated servlet error: 
C:\java\tomcat-5.0\work\Catalina\localhost\opencms\org\apache\jsp\WEB_002dINF\jsp\offline\system\modules\org_opencms_frontend_templateone\templates\main_jsp.java:60:
cannot resolve symbol 
symbol : variable CmsTemplateBean 
location: class
org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.org_opencms_frontend_templateone.templates.main_jsp

headImgUri =
(String)cms.getProperties().get(CmsTemplateBean.C_PROPERTY_HEAD_IMGURI);

^ 


An error occurred at line: 1 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone/templates/main.jsp

Generated servlet error: 
C:\java\tomcat-5.0\work\Catalina\localhost\opencms\org\apache\jsp\WEB_002dINF\jsp\offline\system\modules\org_opencms_frontend_templateone\templates\main_jsp.java:66:
cannot resolve symbol 
symbol : variable CmsTemplateBean 
location: class
org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.org_opencms_frontend_templateone.templates.main_jsp

headImgHeight =
(String)cms.getProperties().get(CmsTemplateBean.C_PROPERTY_HEAD_IMGHEIGHT);

^ 


An error occurred at line: 1 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone/templates/main.jsp

Generated servlet error: 
C:\java\tomcat-5.0\work\Catalina\localhost\opencms\org\apache\jsp\WEB_002dINF\jsp\offline\system\modules\org_opencms_frontend_templateone\templates\main_jsp.java:70:
cannot resolve symbol 
symbol : variable CmsTemplateStyleSheet 
location: class
org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.org_opencms_frontend_templateone.templates.main_jsp

headImgLinkHeight =
CmsTemplateStyleSheet.calculateHeight(headImgHeight,
-4); 
...


		
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 




More information about the opencms-dev mailing list