A
AC
I keep getting an error when I try to import a jar file into a JSP
using myEclipse:
<%@ page import = "java.util.*,
...
com.directory.class_A,
com.directory.class_B"
%>
The .class files for these classes are in a jar file that is in the
Java build path.
The jar file looks like this:
META-INF/MANIFEST.MF
com/directory/class_A.class
com/directory/class_B.class
The error says:
cannot access com.directory.class_A: bad class file:
/directory/myJar.jar(com/directory/class_A.class). NOTE: No JSP line
number was avaliable so line 1 was used for the marker.
If I switch the order of class_A and class_B, I get the same error for
class_B.
I can't figure out why these classes aren't found. Anybody have an
idea?
Thanks in advance.
using myEclipse:
<%@ page import = "java.util.*,
...
com.directory.class_A,
com.directory.class_B"
%>
The .class files for these classes are in a jar file that is in the
Java build path.
The jar file looks like this:
META-INF/jar -tf myJar.jar
META-INF/MANIFEST.MF
com/directory/class_A.class
com/directory/class_B.class
The error says:
cannot access com.directory.class_A: bad class file:
/directory/myJar.jar(com/directory/class_A.class). NOTE: No JSP line
number was avaliable so line 1 was used for the marker.
If I switch the order of class_A and class_B, I get the same error for
class_B.
I can't figure out why these classes aren't found. Anybody have an
idea?
Thanks in advance.