<html><div style='background-color:'><DIV class=RTE>
<P>Hi, I´m a newer user of OpenCMS. i have a problem with compilation of an navigation-example. The compiler tells me:</P>
<P> Unable to compile class for JSP<BR><BR>Generated servlet error:<BR>C:\Archivos de programa\Apache Software Foundation\Tomcat 5.0\work\Catalina\localhost\opencms\org\apache\jsp\WEB_002dINF\jsp\offline\system\modules\com_example_site2\elements\example_002dnavigation_jsp.java:8: package com.opencms.flex.jsp does not exist<BR>import com.opencms.flex.jsp.CmsJspNavBuilder;<BR>^<BR><BR><BR>Generated servlet error:<BR>C:\Archivos de programa\Apache Software Foundation\Tomcat 5.0\work\Catalina\localhost\opencms\org\apache\jsp\WEB_002dINF\jsp\offline\system\modules\com_example_site2\elements\example_002dnavigation_jsp.java:9: package com.opencms.flex.jsp does not exist<BR>import com.opencms.flex.jsp.CmsJspNavElement;<BR>^<BR><BR><BR>Generated servlet error:<BR>C:\Archivos de programa\Apache Software Foundation\Tomcat
5.0\work\Catalina\localhost\opencms\org\apache\jsp\WEB_002dINF\jsp\offline\system\modules\com_example_site2\elements\example_002dnavigation_jsp.java:10: package com.opencms.flex.jsp does not exist<BR>import com.opencms.flex.jsp.CmsJspActionElement;<BR>^<BR><BR><BR>An error occurred at line: 9 in the jsp file: /WEB-INF/jsp/offline/system/modules/com.example.site2/elements/example-navigation.jsp<BR>Generated servlet error:<BR>C:\Archivos de programa\Apache Software Foundation\Tomcat 5.0\work\Catalina\localhost\opencms\org\apache\jsp\WEB_002dINF\jsp\offline\system\modules\com_example_site2\elements\example_002dnavigation_jsp.java:54: cannot find symbol<BR>symbol : class CmsJspActionElement<BR>location: class org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.com_example_site2.elements.example_002dnavigation_jsp<BR>CmsJspActionElement cms = new CmsJspActionElement( pageContext, request,
response );<BR>^<BR><BR><BR>An error occurred at line: 9 in the jsp file: /WEB-INF/jsp/offline/system/modules/com.example.site2/elements/example-navigation.jsp<BR>Generated servlet error:<BR>C:\Archivos de programa\Apache Software Foundation\Tomcat 5.0\work\Catalina\localhost\opencms\org\apache\jsp\WEB_002dINF\jsp\offline\system\modules\com_example_site2\elements\example_002dnavigation_jsp.java:54: cannot find symbol<BR>symbol : class CmsJspActionElement<BR>location: class org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.com_example_site2.elements.example_002dnavigation_jsp<BR>CmsJspActionElement cms = new CmsJspActionElement( pageContext, request, response );<BR>^<BR><BR><BR>An error occurred at line: 9 in the jsp file: /WEB-INF/jsp/offline/system/modules/com.example.site2/elements/example-navigation.jsp<BR>Generated servlet error:<BR>C:\Archivos de programa\Apache Software
Foundation\Tomcat 5.0\work\Catalina\localhost\opencms\org\apache\jsp\WEB_002dINF\jsp\offline\system\modules\com_example_site2\elements\example_002dnavigation_jsp.java:57: cannot find symbol<BR>symbol : class CmsJspNavBuilder<BR>location: class org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.com_example_site2.elements.example_002dnavigation_jsp<BR>CmsJspNavBuilder navigation = cms.getNavigation();<BR>^<BR><BR><BR>An error occurred at line: 9 in the jsp file: /WEB-INF/jsp/offline/system/modules/com.example.site2/elements/example-navigation.jsp<BR>Generated servlet error:<BR>C:\Archivos de programa\Apache Software Foundation\Tomcat 5.0\work\Catalina\localhost\opencms\org\apache\jsp\WEB_002dINF\jsp\offline\system\modules\com_example_site2\elements\example_002dnavigation_jsp.java:66: cannot find symbol<BR>symbol : class CmsJspNavElement<BR>location: class
org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.com_example_site2.elements.example_002dnavigation_jsp<BR>CmsJspNavElement navElement = ( CmsJspNavElement )i.next();<BR>^<BR><BR><BR>An error occurred at line: 9 in the jsp file: /WEB-INF/jsp/offline/system/modules/com.example.site2/elements/example-navigation.jsp<BR>Generated servlet error:<BR>C:\Archivos de programa\Apache Software Foundation\Tomcat 5.0\work\Catalina\localhost\opencms\org\apache\jsp\WEB_002dINF\jsp\offline\system\modules\com_example_site2\elements\example_002dnavigation_jsp.java:66: cannot find symbol<BR>symbol : class CmsJspNavElement<BR>location: class org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.com_example_site2.elements.example_002dnavigation_jsp<BR>CmsJspNavElement navElement = ( CmsJspNavElement )i.next();<BR>^<BR>8 errors<BR></P>
<P> </P>
<P>I´m using OpenCMS 6.2.0 and Tomcat 5.0, can you tell me what happend? At the declaration of the package i have put:<%@ page session="false"<BR>import="java.util.Iterator,<BR> java.util.ArrayList,<BR> com.opencms.flex.jsp.CmsJspNavBuilder,<BR> com.opencms.flex.jsp.CmsJspNavElement,<BR> com.opencms.flex.jsp.CmsJspActionElement"<BR>%><BR></P>
<P>Thank you very much and sorry for my poor english.<BR><BR></P>
<DIV></DIV><FONT color=#000000></DIV>
<DIV></DIV></FONT></div></html>