W3C home > Mailing lists > Public > www-jigsaw@w3.org > May to June 1999

Access Error in Servlet

From: David P. White <dpwhite@halcyon.com>
Date: Thu, 10 Jun 1999 11:24:12 -0400 (EDT)
Message-ID: <375FD92C.3ABD@halcyon.com>
To: www-jigsaw@w3.org

I have placed a servlet's class file in the www/servlet directory to be
executed by jigsaw. I then start jigsaw and try to access the servlet by
pointing my browser to
http://localhost:8001/servlet/LicenseManagerServlet. My browser displays
a dialog saying that the document has no data. I also get the following
shown on jigsaw's console:


c:\jigsaw>java.exe -cp
org.w3c.jigsaw.Main -root C:\Jigsaw\Jigsaw

loading properties from: C:\Jigsaw\Jigsaw\config\server.props
Jigsaw[2.0.2]: serving at http://notacow:8001/
*** Warning : no logger specified, not logging.
JigAdmin[2.0.2]: serving at http://notacow:8009/
Create Servlet : LicenseManagerServlet.class

java.lang.IllegalAccessError: try to access class
hmssoftware/licensing/LicenseManager from class

(large stack trace continues...)


The class LicenseManagerServlet is public. It instantiates an instance
of the LicenseManager class which has package scope. Both classes are in
the same package. The LicenseManager class is on the classpath. So why
is this not working? I have done exactly this sort of thing with other
servlet runners and it works just fine. Any ideas?


Received on Thursday, 10 June 1999 11:27:27 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:34 UTC