[opencms-dev] error

bub habub japorami at yahoo.com
Wed Jun 15 08:51:40 CEST 2005


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 

Generated servlet error: 
Only a type can be imported.
com.opencms.core.CmsException resolves to a package 

Generated servlet error: 
Only a type can be imported.
com.opencms.file.CmsObject resolves to a package 

Generated servlet error: 
Only a type can be imported. com.opencms.file.CmsUser
resolves to a package 

An error occurred at line: 2 in the jsp file:
/WEB-INF/jsp/offline/system/modules/com.authentication/elements/webuser_login.jsp

Generated servlet error: 
CmsJspActionElement cannot be resolved or is not a
type 

An error occurred at line: 2 in the jsp file:
/WEB-INF/jsp/offline/system/modules/com.authentication/elements/webuser_login.jsp

Generated servlet error: 
CmsJspActionElement cannot be resolved or is not a
type 

An error occurred at line: 2 in the jsp file:
/WEB-INF/jsp/offline/system/modules/com.authentication/elements/webuser_login.jsp

Generated servlet error: 
CmsObject cannot be resolved or is not a type 

An error occurred at line: 2 in the jsp file:
/WEB-INF/jsp/offline/system/modules/com.authentication/elements/webuser_login.jsp

Generated servlet error: 
CmsException cannot be resolved or is not a type 



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.

thanks a lot 
rami


		
__________________________________ 
Discover Yahoo! 
Get on-the-go sports scores, stock quotes, news and more. Check it out! 
http://discover.yahoo.com/mobile.html



More information about the opencms-dev mailing list