Hello,
I am using Eclipse 3.1 and MyEclipse 4.0.3 GA. I am bringing in an external Jar which I exported from one of my Java projects so I can use some of the methods in that project. From within my jsp page I can use the editor to find the method call from the package I have imported but when I run the page it can’t find the package? These are the following errors.
org.apache.jasper.JasperException: Unable to compile class for JSP
Generated servlet error:
C:\Tomcat 5.0\work\Catalina\localhost\Login\org\apache\jsp\index_jsp.java:9: package edu.us.employee.hibernate does not exist
import edu.us.employee.hibernate.EmployeeDB;
^
An error occurred at line: 20 in the jsp file: /index.jsp
Generated servlet error:
C:\Tomcat 5.0\work\Catalina\localhost\Login\org\apache\jsp\index_jsp.java:88: cannot resolve symbol
symbol : variable EmployeeDB
location: class org.apache.jsp.index_jsp
authorized = EmployeeDB.validateNetId(line2);
^
2 errors
Also in the project I exported I do have my class public and the method as public static.
Any help would be great.
Thanks,