<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE id=ridTitle>Blank</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1252"><BASE
href="file://C:\Program Files\Common Files\Microsoft Shared\Stationery\">
<STYLE>BODY {
MARGIN-TOP: 25px; FONT-SIZE: 10pt; MARGIN-LEFT: 25px; COLOR: #000000; FONT-FAMILY: Arial, Helvetica
}
P.msoNormal {
MARGIN-TOP: 0px; FONT-SIZE: 10pt; MARGIN-LEFT: 0px; COLOR: #ffffcc; FONT-FAMILY: Helvetica, "Times New Roman"
}
LI.msoNormal {
MARGIN-TOP: 0px; FONT-SIZE: 10pt; MARGIN-LEFT: 0px; COLOR: #ffffcc; FONT-FAMILY: Helvetica, "Times New Roman"
}
</STYLE>
<META content="MSHTML 6.00.2800.1476" name=GENERATOR></HEAD>
<BODY id=ridBody bgColor=#ffffff
background=cid:003f01c4ebfa$8dd0f6d0$6401a8c0@blr.amer.dell.com>
<DIV> </DIV>
<DIV>I've recently got OpenCms v5.0 running with Apache / Tomcat, and am trying
to write my own JSP to manage user logins but cannot get the JSP to instantiate
CmsJspActionElement. When the JSP tries to load, I get the error below -
looks like a classpath problem. Even tried to set classpath to the opencms
lib directory under WEB-INF\lib and restarted tomcat, but still get the error
<BR><BR>Do I need to do anything different in order for OpenCms to find its own
classes?</DIV>
<DIV> </DIV>
<DIV>Thanks for any help on this.</DIV>
<DIV> </DIV>
<DIV>Regards,</DIV>
<DIV>SS</DIV>
<DIV><BR>javax.servlet.ServletException: Resource loader error in file
'/login.jsp'</DIV>
<DIV> </DIV>
<DIV>Root cause:<BR>org.apache.jasper.JasperException: Unable to compile class
for JSP</DIV>
<DIV> </DIV>
<DIV>An error occurred at line: 4 in the jsp file:
/WEB-INF/jsp/offline/login.jsp.jsp</DIV>
<DIV> </DIV>
<DIV>Generated servlet error:<BR> [javac] Compiling 1 source
file</DIV>
<DIV> </DIV>
<DIV>C:\jakarta-tomcat-4.1.31\work\Standalone\localhost\_\WEB-INF\jsp\offline\login_jsp_jsp.java:9:
package com.opencms.jsp does not exist<BR>import
com.opencms.jsp.*;<BR>^<BR>C:\jakarta-tomcat-4.1.31\work\Standalone\localhost\_\WEB-INF\jsp\offline\login_jsp_jsp.java:49:
cannot resolve symbol<BR>symbol : class CmsJspActionElement <BR>location:
class org.apache.jsp.login_jsp_jsp<BR> CmsJspActionElement cms = new
CmsJspActionElement(pageContext, request,
response);<BR> ^</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>An error occurred at line: 4 in the jsp file:
/WEB-INF/jsp/offline/login.jsp.jsp</DIV>
<DIV> </DIV>
<DIV>Generated servlet
error:<BR>C:\jakarta-tomcat-4.1.31\work\Standalone\localhost\_\WEB-INF\jsp\offline\login_jsp_jsp.java:49:
cannot resolve symbol<BR>symbol : class CmsJspActionElement <BR>location:
class org.apache.jsp.login_jsp_jsp<BR> CmsJspActionElement cms = new
CmsJspActionElement(pageContext, request,
response);<BR>
^</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>An error occurred at line: 4 in the jsp file:
/WEB-INF/jsp/offline/login.jsp.jsp</DIV>
<DIV> </DIV>
<DIV>Generated servlet
error:<BR>C:\jakarta-tomcat-4.1.31\work\Standalone\localhost\_\WEB-INF\jsp\offline\login_jsp_jsp.java:61:
cannot resolve symbol<BR>symbol : class CmsJspActionElement <BR>location:
class org.apache.jsp.login_jsp_jsp<BR> cms = new
CmsJspActionElement(pageContext, request,
response);<BR>
^</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>An error occurred at line: 4 in the jsp file:
/WEB-INF/jsp/offline/login.jsp.jsp</DIV>
<DIV> </DIV>
<DIV>Generated servlet
error:<BR>C:\jakarta-tomcat-4.1.31\work\Standalone\localhost\_\WEB-INF\jsp\offline\login_jsp_jsp.java:68:
cannot resolve symbol<BR>symbol : class CmsJspActionElement <BR>location:
class org.apache.jsp.login_jsp_jsp<BR> cms = new
CmsJspActionElement(pageContext, request,
response);<BR>
^</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>An error occurred at line: 4 in the jsp file:
/WEB-INF/jsp/offline/login.jsp.jsp</DIV>
<DIV> </DIV>
<DIV>Generated servlet
error:<BR>C:\jakarta-tomcat-4.1.31\work\Standalone\localhost\_\WEB-INF\jsp\offline\login_jsp_jsp.java:70:
package org.opencms.security does not
exist<BR> catch(org.opencms.security.CmsSecurityException
e)<BR>
^<BR>6 errors</DIV>
<DIV> </DIV>
<DIV> </DIV></BODY></HTML>