Debugging a jsp using Netbeans IDE and bundled Tomcat - I'm desperate!
I'm debugging a jsp using Netbeans and bundled Tomcat.
The jsp is looking for a class and can't find it. I have the class in a jar file in the /lib folder. Other classes use this class and compile just fine.
I've tried everything.
Any ideas?
[270 byte] By [
megaskinsa] at [2007-11-27 10:17:35]

Yes. Here is the import:
<%@ page import="com.oneok.portal.mgmtauth.Reports,
com.oneok.portal.Hierarchy,
com.oneok.portal.util.CommonUtils,
com.oneok.db.DBConnection,
java.sql.Connection,
java.sql.SQLException,
java.sql.ResultSet,
java.sql.Statement,
java.util.TreeMap,
java.util.ArrayList,
java.util.Arrays,
java.util.Set,
java.util.Stack,
java.text.DecimalFormat,
org.apache.log4j.Logger,
com.oneok.portal.beans.HierarchyBean,
com.oneok.portal.beans.MgmtAuthBean,
java.util.Iterator"
%>
<%!
public TreeMap setMgmtAuthBeans(TreeMap tmEmployees) {
TreeMap results = new TreeMap();
reports.getMgmtAuthBeans().clear();
Connection conn = null;
Statement stmt = null;
ResultSet rs = null;
String sql = "";
try {
conn = DBConnection.getConnection("MISC_READONLY");
It craters on the connection attempt.
Yes, it's included in the compile and run libs for Netbeans. According to Netbeans doc, these libs are automagically included in the classpath, although I would think Tomcat takes care of that by putting them in the /lib folder.