I am trying to execute a servlet that instantiates an object whose class is
in a different directory (the class is called Normal.class). I'm using the
Jigsaw server. I start it up by typing:

java -classpath
D:\JIGSAW~1\JIGSAW\CLASSES\JIGSAW.ZIP;D:\VISUAL~1\JAVA\LIB\CLASSES.ZIP;D:\Vi
sualCafe\JAVA\LIB\JSDK.JAR;D:\jigsaw201\Jigsaw\classes
org.w3c.jigsaw.Main -root \JIGSAW~1\JIGSAW\JIGSAW

"D:\jigsaw201\Jigsaw\Jigsaw\WWW\servlets" is the path where my servlet is
and the "D:\jigsaw201\Jigsaw\classes" directory is where my other class
(Normal.class) is.

If I test Normal.class in a simple application, everything works fine, but
when I try to instantiate the class from the servlet, I receive the
following message:

java.lang.IllegalAccessError: Normal.<init>(Ljava/lang/String;)V

Can anybody tell me what's happenning? (BTW, I'm using Visual Cafe 3.0)

The message error doesn't appear when Normal.class does not have a
constuctor.

Thanks in advance
---
Adolfo Aladro     [EMAIL PROTECTED]
"Birds fly out of here so why oh why the hell can't I?"
---

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to