Sriram Narayanan wrote:
> (snip)
> >>
> >Hi Craig,
> >The web-inf directory is already in capital letter on the windows file
> >system. Is there another place, or another conf file I should check for
> >this "capital letter" thing ?
> >
>
> It really must be an issue of capital case. Here's how you could check.
> 1. From the Windows Explorer, go to View->Options and select the check box "Display
>the full path in the title bar".
> 2. Apply these changes.
> 3. Navigate to the WEB-INF folder, and select the web.xml file. Now check the title
>bar, if the folder name is not WEB-INF, then you just need
> to rename this. Remember, all the characters must be in capital case.
My WEB-INF folder appears to be in capital letters... I don't understand why I get
the NoClassDefFoundError.
To be sure I tried this jsp code :
<%
String classpath = (String)context.getAttribute("org.apache.catalina.jsp_classpath");
StringTokenizer st = new StringTokenizer(classpath, ";");
while (st.hasMoreTokens()) {
String curr = st.nextToken();
%>
<%=curr%><br>
<%
}
%>
I got the correct result for the classpath constructed by tomcat :
E:/Webapps/Context/WEB-INF/classes
E:/Webapps/Context/WEB-INF/lib/classes12.jar
E:/Webapps/Context/WEB-INF/lib/myjarfile.jar
E:/Webapps/Context/WEB-INF/lib/oraclexsql.jar
E:/Webapps/Context/WEB-INF/lib/xmlparserv2.jar
E:/Webapps/Context/WEB-INF/lib/xsu12.jar
D:/Apache/jakarta-tomcat-4.0.2/classes/
D:/Apache/jakarta-tomcat-4.0.2/lib/jasper-compiler.jar
D:/Apache/jakarta-tomcat-4.0.2/lib/jasper-runtime.jar
D:/Apache/jakarta-tomcat-4.0.2/lib/naming-factory.jar
D:/Apache/jakarta-tomcat-4.0.2/common/classes/
D:/Apache/jakarta-tomcat-4.0.2/common/lib/naming-common.jar
D:/Apache/jakarta-tomcat-4.0.2/common/lib/naming-resources.jar
D:/Apache/jakarta-tomcat-4.0.2/common/lib/servlet.jar
D:/Apache/jakarta-tomcat-4.0.2/common/lib/tools.jar
So : the tomcat classpath looks ok, but I still get the NoClassDefFoundError when
trying to access my classes... any clue ?
Tx
Lassie
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>