[opencms-dev] please help with Master Module implementazion opencms 4.6.1 major
Gianluca Mirabelli
mirabelli at inwind.it
Wed Nov 27 19:15:46 CET 2002
Hi all,
i use the version of opencms 4.6.1 and i try to implement the
MasterModule.
I receive the error:
uld not initialize (sub-)element for class
"com.caliari.XProject.dis.backoffice.InfoBackoffice". [CmsException]: 29
OpenCms class loader error. Detailed Error: Could not load template
class com.caliari.XProject.dis.backoffice.InfoBackoffice.
/system/classes/com/caliari/XProject/dis/backoffice/InfoBackoffice.class
seems to be no class file. Sorry.. Caught Exception:
>java.lang.ClassNotFoundException:
/system/classes/com/caliari/XProject/dis/backoffice/InfoBackoffice.class
seems to be no class file. Sorry.<.
at
com.opencms.template.cache.CmsElementLocator.get(CmsElementLocator.java:
166)
at
com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:102)
at
com.opencms.template.cache.CmsElementCache.callCanonicalRoot(CmsElementC
ache.java:148)
at
com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLauncher.java:2
28)
at
com.opencms.launcher.CmsXmlLauncher.launch(CmsXmlLauncher.java:283)
at
com.opencms.launcher.A_CmsLauncher.initlaunch(A_CmsLauncher.java:272)
at com.opencms.core.OpenCms.showResource(OpenCms.java:588)
at
com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:223)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
com.opencms.boot.OpenCmsServlet.service(OpenCmsServlet.java:117)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:190)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566)
at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.ja
va:246)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:564)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:234
3)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:180)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lve.java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:564)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:564)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:564)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:174)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.j
ava:1012)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:
1107)
at java.lang.Thread.run(Thread.java:536)
the cause is that the CmsMasterContent d'ont have the empty constructor
so in the Backoffice class in the method getContentDefinitionClass is
not possible to initialise the content definition.
My backoffice class use the method in this way:
public Class getContentDefinitionClass()
{
return InfoContentDefinition.class;
}
We have suggestion.
Best regards
Gianluca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20021127/5c37f4de/attachment.htm>
More information about the opencms-dev
mailing list