[opencms-dev] error

Markus Daniel markus.daniel at synyx.de
Wed Jun 15 10:03:06 CEST 2005


bub habub wrote:
> hi,
> i somehow get this error all the time. even though i
> think that i use the import correctly. the error looks
> like this :
> 
> 
> Unable to compile class for JSP 
> 
> Generated servlet error: 
> Only a type can be imported.
> com.opencms.flex.jsp.CmsJspActionElement resolves to a
> package 
> 
....
> 
> Requested resource:
> /system/modules/com.authentication/elements/webuser_login.jsp
> OpenCms version: 6.0 beta 3 Corrin
> OpenCms context: /opencms/opencms 
> 
> here is my import declaration:
> <%@ page
> import="com.opencms.flex.jsp.CmsJspActionElement,
> com.opencms.core.CmsException,
> com.opencms.core.I_CmsConstants,
> com.opencms.util.MailUtils,
> com.opencms.file.CmsObject, com.opencms.file.CmsUser,
> java.util.Hashtable" %>
> 
> i'm stuck here. if someone could help.
> 
Hi,
have a look at the API-Doc e.g. http://synyx.de/api/opencms6b3/index.html
Your imports are wrong.

Hth,
Markus




More information about the opencms-dev mailing list