[opencms-dev] first backoffice module

larsn at smb-tec.com larsn at smb-tec.com
Tue Jan 4 14:18:32 CET 2005


Hi list.

I've written my first backoffice module. Java sources and classes are
placed in /system/modules/iac.leipzig/classes/iac/leipzig/training .
Now I have two problems:

a) Where/how do I have to define the icon for the Admin workplace?
Currently I only see a broken icon but the link to that module seems
to work. The HTML code of my backoffice module in the workplace looks
like:

<img src="/opencms/opencms/system/modules/iac.leipzig/pics/ .gif"
 border=0 width=32 height=32 vspace=4>

b) The module doesn't start correctly. I only get a system error and
the log file viewer logs:

[04.01.2005 14:09:28] <opencms_critical> [CmsTemplateClassManager] Could not 
load template class iac.leipzig.training.TrainingBackoffice. iac.leipzig.
training.TrainingBackoffice
[04.01.2005 14:09:28] <opencms_critical> com.opencms.template.cache.
CmsElementLocator at 2d95b3 Could not initialize (sub-)element for class "iac.
leipzig.training.TrainingBackoffice". 
[04.01.2005 14:09:28] <opencms_critical> com.opencms.core.CmsException: 29 
OpenCms class loader error. Detailed error: Could not load template class iac.
leipzig.training.TrainingBackoffice. iac.leipzig.training.TrainingBackoffice. 
root cause was java.lang.ClassNotFoundException: iac.leipzig.training.
TrainingBackoffice

So where/how do I have to define the CLASSPATH to start that backoffice
module?

Thanks for any help, Lars



More information about the opencms-dev mailing list