[opencms-dev] Module form in Alpha3 Errors

Marc Fievet marc.fievet at coditel.net
Tue Jan 25 14:02:17 CET 2005


Hello,

I try to run the new moduel form (org.opencms.frontend.templateone.form)

on  my e workplace, I can choose the  xml structured form and I can put some
items in the fields but when I publish the file, the followings errors:
"org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 0 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone.form/pa
ges/form.html.jsp

Generated servlet error:
    [javac] Compiling 1 source file

C:\Tomcat4.1\work\Standalone\localhost\opencms\WEB-INF\jsp\offline\system\mo
dules\org.opencms.frontend.templateone.form\pages\form_html_jsp.java:8:
package org.opencms.frontend.templateone.form does not exist
import org.opencms.frontend.templateone.form.*;
^
C:\Tomcat4.1\work\Standalone\localhost\opencms\WEB-INF\jsp\offline\system\mo
dules\org.opencms.frontend.templateone.form\pages\form_html_jsp.java:50:
cannot resolve symbol
symbol  : class CmsFormHandler
location: class org.apache.jsp.form_html_jsp
CmsFormHandler cms = new CmsFormHandler(pageContext, request, response);
^

An error occurred at line: 0 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone.form/pa
ges/form.html.jsp

Generated servlet error:
C:\Tomcat4.1\work\Standalone\localhost\opencms\WEB-INF\jsp\offline\system\mo
dules\org.opencms.frontend.templateone.form\pages\form_html_jsp.java:50:
cannot resolve symbol
symbol  : class CmsFormHandler
location: class org.apache.jsp.form_html_jsp
CmsFormHandler cms = new CmsFormHandler(pageContext, request, response);
                         ^
An error occurred at line: 36 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone.form/pa
ges/form.html.jsp

Generated servlet error:
C:\Tomcat4.1\work\Standalone\localhost\opencms\WEB-INF\jsp\offline\system\mo
dules\org.opencms.frontend.templateone.form\pages\form_html_jsp.java:96:
cannot resolve symbol
symbol  : class CmsForm
location: class org.apache.jsp.form_html_jsp
	CmsForm formConfiguration = cms.getFormConfiguration();
        ^



An error occurred at line: 52 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone.form/pa
ges/form.html.jsp

Generated servlet error:
C:\Tomcat4.1\work\Standalone\localhost\opencms\WEB-INF\jsp\offline\system\mo
dules\org.opencms.frontend.templateone.form\pages\form_html_jsp.java:109:
cannot resolve symbol
symbol  : variable CmsFormHandler
location: class org.apache.jsp.form_html_jsp
      out.print( CmsFormHandler.C_PARAM_FORMACTION );
                 ^



An error occurred at line: 52 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone.form/pa
ges/form.html.jsp

Generated servlet error:
C:\Tomcat4.1\work\Standalone\localhost\opencms\WEB-INF\jsp\offline\system\mo
dules\org.opencms.frontend.templateone.form\pages\form_html_jsp.java:111:
cannot resolve symbol
symbol  : variable CmsFormHandler
location: class org.apache.jsp.form_html_jsp
      out.print( CmsFormHandler.C_ACTION_SUBMIT );
                 ^



An error occurred at line: 54 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone.form/pa
ges/form.html.jsp

Generated servlet error:
C:\Tomcat4.1\work\Standalone\localhost\opencms\WEB-INF\jsp\offline\system\mo
dules\org.opencms.frontend.templateone.form\pages\form_html_jsp.java:122:
cannot resolve symbol
symbol  : class CmsField
location: class org.apache.jsp.form_html_jsp
		CmsField field = (CmsField)i.next();
                ^



An error occurred at line: 54 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone.form/pa
ges/form.html.jsp

Generated servlet error:
C:\Tomcat4.1\work\Standalone\localhost\opencms\WEB-INF\jsp\offline\system\mo
dules\org.opencms.frontend.templateone.form\pages\form_html_jsp.java:122:
cannot resolve symbol
symbol  : class CmsField
location: class org.apache.jsp.form_html_jsp
		CmsField field = (CmsField)i.next();
                                  ^



An error occurred at line: 54 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone.form/pa
ges/form.html.jsp

Generated servlet error:
C:\Tomcat4.1\work\Standalone\localhost\opencms\WEB-INF\jsp\offline\system\mo
dules\org.opencms.frontend.templateone.form\pages\form_html_jsp.java:129:
package CmsFormHandler does not exist
			if (CmsFormHandler.C_ERROR_MANDATORY.equals(errorMessage)) {
                                          ^



An error occurred at line: 0 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone.form/js
ptemplates/inputfields.txt

Generated servlet error:
C:\Tomcat4.1\work\Standalone\localhost\opencms\WEB-INF\jsp\offline\system\mo
dules\org.opencms.frontend.templateone.form\pa\form_html_jsp.java:147:
cannot resolve symbol
symbol  : variable CmsField
location: class org.apache.jsp.form_html_jsp
		if (fieldType.equals(CmsField.C_TYPE_HIDDEN)) {
                                 ^

An error occurred at line: 4 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone.form/js
ptemplates/inputfields.txt

Generated servlet error:
C:\Tomcat4.1\work\Standalone\localhost\opencms\WEB-INF\jsp\offline\system\mo
dules\org.opencms.frontend.templateone.form\pages\form_html_jsp.java:158:
cannot resolve symbol
symbol  : variable CmsField
location: class org.apache.jsp.form_html_jsp
		else if (fieldType.equals(CmsField.C_TYPE_TEXT)) {
                                          ^
An error occurred at line: 13 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone.form/js
ptemplates/inputfields.txt

Generated servlet error:
C:\Tomcat4.1\work\Standalone\localhost\opencms\WEB-INF\jsp\offline\system\mo
dules\org.opencms.frontend.templateone.form\pages\form_html_jsp.java:184:
cannot resolve symbol
symbol  : variable CmsField
location: class org.apache.jsp.form_html_jsp
		else if (fieldType.equals(CmsField.C_TYPE_TEXTAREA)) {
                                          ^

An error occurred at line: 22 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone.form/js
ptemplates/inputfields.txt

Generated servlet error:
C:\Tomcat4.1\work\Standalone\localhost\opencms\WEB-INF\jsp\offline\system\mo
dules\org.opencms.frontend.templateone.form\pages\form_html_jsp.java:210:
cannot resolve symbol
symbol  : variable CmsField
location: class org.apache.jsp.form_html_jsp
		else if (fieldType.equals(CmsField.C_TYPE_SELECT)) {

An error occurred at line: 31 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone.form/js
ptemplates/inputfields.txt

Generated servlet error:
C:\Tomcat4.1\work\Standalone\localhost\opencms\WEB-INF\jsp\offline\system\mo
dules\org.opencms.frontend.templateone.form\pages\form_html_jsp.java:230:
cannot resolve symbol
symbol  : class CmsFieldItem
location: class org.apache.jsp.form_html_jsp
					CmsFieldItem curOption = (CmsFieldItem)k.next();
                                        ^
An error occurred at line: 31 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone.form/js
ptemplates/inputfields.txt

Generated servlet error:
C:\Tomcat4.1\work\Standalone\localhost\opencms\WEB-INF\jsp\offline\system\mo
dules\org.opencms.frontend.templateone.form\pages\form_html_jsp.java:230:
cannot resolve symbol
symbol  : class CmsFieldItem
location: class org.apache.jsp.form_html_jsp
					CmsFieldItem curOption = (CmsFieldItem)k.next();
                                                                  ^

An error occurred at line: 47 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone.form/js
ptemplates/inputfields.txt

Generated servlet error:
C:\Tomcat4.1\work\Standalone\localhost\opencms\WEB-INF\jsp\offline\system\mo
dules\org.opencms.frontend.templateone.form\pages\form_html_jsp.java:250:
cannot resolve symbol
symbol  : variable CmsField
location: class org.apache.jsp.form_html_jsp
		else if (fieldType.equals(CmsField.C_TYPE_CHECKBOX)) {
                                          ^



An error occurred at line: 55 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone.form/js
ptemplates/inputfields.txt

Generated servlet error:
C:\Tomcat4.1\work\Standalone\localhost\opencms\WEB-INF\jsp\offline\system\mo
dules\org.opencms.frontend.templateone.form\pages\form_html_jsp.java:265:
cannot resolve symbol
symbol  : class CmsFieldItem
location: class org.apache.jsp.form_html_jsp
					CmsFieldItem curOption = (CmsFieldItem)k.next();
                                        ^



An error occurred at line: 55 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone.form/js
ptemplates/inputfields.txt

Generated servlet error:
C:\Tomcat4.1\work\Standalone\localhost\opencms\WEB-INF\jsp\offline\system\mo
dules\org.opencms.frontend.templateone.form\pages\form_html_jsp.java:265:
cannot resolve symbol
symbol  : class CmsFieldItem
location: class org.apache.jsp.form_html_jsp
					CmsFieldItem curOption = (CmsFieldItem)k.next();
                                                                  ^



An error occurred at line: 70 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone.form/js
ptemplates/inputfields.txt

Generated servlet error:
C:\Tomcat4.1\work\Standalone\localhost\opencms\WEB-INF\jsp\offline\system\mo
dules\org.opencms.frontend.templateone.form\pages\form_html_jsp.java:284:
cannot resolve symbol
symbol  : variable CmsField
location: class org.apache.jsp.form_html_jsp
		else if (fieldType.equals(CmsField.C_TYPE_RADIO)) {
                                          ^


An error occurred at line: 78 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone.form/js
ptemplates/inputfields.txt

Generated servlet error:
C:\Tomcat4.1\work\Standalone\localhost\opencms\WEB-INF\jsp\offline\system\mo
dules\org.opencms.frontend.templateone.form\pages\form_html_jsp.java:299:
cannot resolve symbol
symbol  : class CmsFieldItem
location: class org.apache.jsp.form_html_jsp
					CmsFieldItem curOption = (CmsFieldItem)k.next();
                                        ^

An error occurred at line: 78 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone.form/js
ptemplates/inputfields.txt

Generated servlet error:
C:\Tomcat4.1\work\Standalone\localhost\opencms\WEB-INF\jsp\offline\system\mo
dules\org.opencms.frontend.templateone.form\pages\form_html_jsp.java:299:
cannot resolve symbol
symbol  : class CmsFieldItem
location: class org.apache.jsp.form_html_jsp
					CmsFieldItem curOption = (CmsFieldItem)k.next();"
                                                                  ^

What's wrong?

Thank you,

Regards

MARC







More information about the opencms-dev mailing list