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

Schliemann, Kai K.Schliemann at comundus.com
Mon Jun 26 14:39:21 CEST 2017


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 at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20170626/eb2e5501/attachment.htm>


More information about the opencms-dev mailing list