[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 16:58:58 CEST 2017
Hi Arno,
AFAIK the old widgets do no longer work in OpenCms >=10.
Or to be more precise. They do not work in the new workplace /new editor of OpenCms 10.
So if you want to activate the old editor for all users, you can change the line
<preference name="editor.xmlcontent" value="bestavailable" />
to
<preference name="editor.xmlcontent" value="xmlContentEditor" />
in opencms-workplace.xml
You should be able to change this individually in your user settings as well.
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 15:28
An: opencms-dev at opencms.org
Betreff: Re: [opencms-dev] Unable to unmarshal XML content definition schema because Invalid custom widget class CmsCollectorSelectWidget
Hi Kai,
i checked the content of /var/lib/tomcat6/webapps/opencms/WEB-INF/lib/com.alkacon.opencms.v8.list.jar on both server and the CmsCollectorSelectWidget.class is included.
Or do you think the problem is not CmsCollectorSelectWidget.class? Maybe the list.xsd?
Where should i find the class on Ubuntu => /var/lib/tomcat6/webapps/opencms/WEB-INF/classes/com/alkacon/opencms/v8/list/ or a special cache folder ?
Best regards
Arno
Gesendet: Montag, 26. Juni 2017 um 14:39 Uhr
Von: "Schliemann, Kai" <K.Schliemann at comundus.com<mailto:K.Schliemann at comundus.com>>
An: "The OpenCms mailing list" <opencms-dev at opencms.org<mailto:opencms-dev at opencms.org>>
Betreff: Re: [opencms-dev] Unable to unmarshal XML content definition schema because Invalid custom widget class CmsCollectorSelectWidget
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> [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<mailto: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/cdf00a86/attachment.htm>
More information about the opencms-dev
mailing list