AW: [opencms-dev] Generated servlet error

Andreas Zahner A.Zahner at alkacon.com
Mon Nov 29 09:28:13 CET 2004


Dominik,

Be sure to restart Tomcat after finishing the setup process because some jar
files have been exported to the file system. After restartint the servlet
container, everything should be ok.

Regards,

Andreas Zahner
Alkacon Software - The OpenCms Experts
http://www.alkacon.com 
 

-----Ursprüngliche Nachricht-----
Von: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Dominik Roblek
Gesendet: Samstag, 27. November 2004 08:41
An: opencms-dev at opencms.org
Betreff: [opencms-dev] Generated servlet error

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_002dIN
F\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/templat
es/main.jsp

Generated servlet error: 
C:\java\tomcat-5.0\work\Catalina\localhost\opencms\org\apache\jsp\WEB_002dIN
F\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_t
emplateone.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/templat
es/main.jsp

Generated servlet error: 
C:\java\tomcat-5.0\work\Catalina\localhost\opencms\org\apache\jsp\WEB_002dIN
F\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_t
emplateone.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/templat
es/main.jsp

Generated servlet error: 
C:\java\tomcat-5.0\work\Catalina\localhost\opencms\org\apache\jsp\WEB_002dIN
F\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_t
emplateone.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/templat
es/main.jsp

Generated servlet error: 
C:\java\tomcat-5.0\work\Catalina\localhost\opencms\org\apache\jsp\WEB_002dIN
F\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_t
emplateone.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/templat
es/main.jsp

Generated servlet error: 
C:\java\tomcat-5.0\work\Catalina\localhost\opencms\org\apache\jsp\WEB_002dIN
F\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_t
emplateone.templates.main_jsp

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


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



_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list