[opencms-dev] CmsTemplateBean cannot be resolved to a type

Alberto Gallardo argrico at gmail.com
Mon Sep 14 14:48:47 CEST 2015


Hi,


> I imported the templateone, I assure that within it is the class that
> needs to function properly and still no go.[...]
>
>
> An error occurred at line: 16 in the jsp file:
> /WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templatetwo/templates/main.jsp
> CmsTemplateLayout cannot be resolved to a type
>

After installing templateone, have you restarted the servlet container?

How are you so sure that the class is present in the classpath? A grep in
the WEB-INF/lib directory could help to be 100% sure that this is in fact
the case. The error doesn't leave room for misinterpretation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20150914/e23a5d29/attachment.htm>


More information about the opencms-dev mailing list