[opencms-dev] Unable to unmarshal XML content definition schema because Invalid custom widget class CmsCollectorSelectWidget

Alberto Gallardo argrico at gmail.com
Mon Jun 26 15:07:48 CEST 2017


Hi Arno,

Kai is right: you are missing "com.alkacon.opencms.v8.list.jar". This is
included in the module 'com.alkacon.opencms.v8.list' (the class is only
available up to branch_8_5_x:
https://github.com/alkacon/modules-v8/blob/branch_8_5_x/src-modules/com/alkacon/opencms/v8/list/CmsCollectorSelectWidget.java).
Try reinstalling it.

Regards,

Alberto Gallardo


2017-06-26 14:39 GMT+02:00 Schliemann, Kai <K.Schliemann at comundus.com>:

> Hi Arno,
>
> I assume, that
>
>    1. you are missing a jar in WEB-INF/lib folder or
>    2. there is a jar, but the class is missing
>
> HTH
>
> Best regards
>
> Kai
>
>
>
> *Von:* opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces@
> opencms.org] *Im Auftrag von *Arno Nym
> *Gesendet:* Montag, 26. Juni 2017 14:25
> *An:* Open CMS <opencms-dev at opencms.org>
> *Betreff:* [opencms-dev] Unable to unmarshal XML content definition
> schema because Invalid custom widget class CmsCollectorSelectWidget
>
>
>
> Hi, after importing our 8.5.1 Sources (incl. v8list files) to OpenCMS
> 10.5.1 i got several errors:
>
>
>
> <<
>
> 26 Jun 2017 11:58:38,223 ERROR [ org.opencms.gwt.CmsGwtService: 183]
> Unable to unmarshal XML content definition schema
> "opencms://system/modules/com.alkacon.opencms.v8.list/schemas/list.xsd".
> org.opencms.main.CmsRuntimeException: Unable to unmarshal XML content
> definition schema "opencms://system/modules/com.alkacon.opencms.v8.list/
> schemas/list.xsd".
>     at org.opencms.xml.content.CmsXmlContent.getContentDefinition(
> CmsXmlContent.java:937)
>
> ...
>
> Caused by: org.opencms.xml.CmsXmlException: Invalid custom widget class
> "com.alkacon.opencms.v8.list.CmsCollectorSelectWidget" for element
> "Collector" in content definition "opencms://system/modules/com.
> alkacon.opencms.v8.list/schemas/list.xsd".
>     at org.opencms.xml.content.CmsDefaultXmlContentHandler.addWidget(
> CmsDefaultXmlContentHandler.java:1907)
>
> ...
>
> Caused by: java.lang.ClassNotFoundException: com.alkacon.opencms.v8.list.
> CmsCollectorSelectWidget
>     at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(
> WebappClassLoaderBase.java:1858)
>
> >>
>
>
>
> I compared the opencms-vfs.xml from our 8.5.1 server, but i don't found
> entries for CmsCollectorSelectWidget (i think, it's because this is no
> "normal" widget).
>
> Second i thought,  a class is missing in /var/lib/tomcat6/webapps/
> opencms/WEB-INF/classes/com/alkacon/opencms/v8/list/, but on both
> folders, there are no classes.
>
> On our v8.5.1 server, there are no errors.
>
> And the //system/modules/com.alkacon.opencms.v8.list/schemas/list.xsd
> file exists already on both server.
>
>
>
> Anyone an idea? I spent hours to find anything...
>
> Arno
>
>
>
> _______________________________________________
> 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/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20170626/d4b2c039/attachment.htm>


More information about the opencms-dev mailing list