[opencms-dev] formgenerator modules
Mario Jäger
m.jaeger at alkacon.com
Tue Jun 8 10:10:29 CEST 2010
Hi Tony,
Please, check that the com.alkacon.opencms.formgenerator.jar is in your WEB-INF/lib/ directory.
I can reproduce your problem, if I try to create a "Survey" without the jar file there.
--
Kind Regards,
Mario.
-------------------
Mario Jäger
Alkacon Software GmbH - The OpenCms Experts
http://www.alkacon.com - http://www.opencms.org
tony fauzzi schrieb:
> Hi,
> i'm installed a survey module and so, also a formgenerator module.
> I need of a new functionality in formgenerator module that is in
> developmet phase and so i've rebuild all class and generated a new jar
> file.
> When i try to create a new file type Survey, opencms return this:
>
> rg.opencms.xml.CmsXmlException: Invalid custom widget class
> "com.alkacon.opencms.formgenerator.CmsSelectWidgetXmlcontentType" for
> element "Preset" in content definition
> "opencms://system/modules/com.alkacon.opencms.formgenerator/schemas/optionalformcaptcha.xsd".
> at
> org.opencms.xml.content.CmsDefaultXmlContentHandler.addWidget(CmsDefaultXmlContentHandler.java:1189)
> at
> org.opencms.xml.content.CmsDefaultXmlContentHandler.initLayouts(CmsDefaultXmlContentHandler.java:1398)
> at
> org.opencms.xml.content.CmsDefaultXmlContentHandler.initialize(CmsDefaultXmlContentHandler.java:529)
> at
> org.opencms.xml.CmsXmlContentDefinition.unmarshalInternal(CmsXmlContentDefinition.java:746)
> at
> org.opencms.xml.CmsXmlContentDefinition.unmarshal(CmsXmlContentDefinition.java:303)
> at
> org.opencms.xml.CmsXmlContentDefinition.unmarshalInternal(CmsXmlContentDefinition.java:649)
> at
> org.opencms.xml.CmsXmlContentDefinition.unmarshal(CmsXmlContentDefinition.java:257)
> at
> org.opencms.file.types.CmsResourceTypeXmlContent.createResource(CmsResourceTypeXmlContent.java:143)
> at org.opencms.file.CmsObject.createResource(CmsObject.java:733)
> at
> org.opencms.workplace.explorer.CmsNewResourceXmlContent.actionCreateResource(CmsNewResourceXmlContent.java:181)
> at
> org.apache.jsp.WEB_002dINF.jsp.offline.system.workplace.commons.newresource_005fxmlcontent_jsp._jspService(newresource_005fxmlcontent_jsp.java:66)
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
> at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
> at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
> at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
> at
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)
> at
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:399)
> at
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
> at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:509)
> at
> org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:1052)
> at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1490)
> at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:153)
> at org.opencms.main.OpenCmsServlet.doPost(OpenCmsServlet.java:166)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
> at
> org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:835)
> at
> org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:640)
> at
> org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1286)
> at java.lang.Thread.run(Unknown Source)
> Caused by: java.lang.ClassNotFoundException:
> com.alkacon.opencms.formgenerator.CmsSelectWidgetXmlcontentType
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1386)
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1232)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Unknown Source)
> at
> org.opencms.xml.content.CmsDefaultXmlContentHandler.addWidget(CmsDefaultXmlContentHandler.java:1186)
> ... 41 more
>
> thanks at all!
>
> ------------------------------------------------------------------------
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
More information about the opencms-dev
mailing list