[opencms-dev] Invalid OpenCMS Widget Class Error

Clement Wee clement at elixirtech.com
Wed Mar 29 11:21:57 CEST 2017


Hello!

I just created an OpenCMS native widget following the instructions in the
documentation. All the export points are set up properly etc, but I am
getting the following error when I try to load a component using that
widget in the Site Editor.

29 Mar 2017 17:14:47,863 ERROR [ncms.loader.CmsResourceManager: 618] Error
in getAllowedContextMap,
schema=/system/modules/elixir.opencms/schemas/SampleCustomChart.xsd,
type=SampleCustomChart, Invalid custom widget class
"com.elixirtech.opencms.ChartEditor" for element "Chart" in content
definition
"opencms://system/modules/elixir.opencms/schemas/SampleCustomChart.xsd".

The class com.elixirtech.opencms.ChartEditor exists in a jar in the lib
folder of the module, which is already exported, so I have no idea why it
can't export. Is it because the package name of the module and the package
name of the Widget Class is different?

Regards,
Clement
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20170329/8320cef5/attachment.htm>


More information about the opencms-dev mailing list