
November 28th, 2001, 03:27 AM
|
|
Junior Member
|
|
Join Date: Nov 2001
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
Java Servlet and NoClassDefFoundError
I am setting up a servlet under Jserv but keep getting a NoClassDefFound error.
The servlet is being mapped to an alias in the properties file:
servlet.Alias.code=AdapterServlet
servlet.Alias.initArgs=propertyFile=Adapter.txt
The servlet is in the directory referenced by the repositories property:
repositories=/Myclasses
If I put the sample Hello.class servlet into this directory and map the Alias to Hello - servlet.Alias.code=Hello - this works OK.
I have also added the /Myclasses directory to the Classpath set in the jserv properties file for this zone.
wrapper.classpath=/Myclasses
Any ideas?
|