----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Dave Hewlett wrote:
> Running the latet versions of Apache, JSERV, and WebMacro i get the
> following error when trying the WebMacro example servlet HelloWorld:
>
> NoClassDefFoundError: HelloWorld
Look at the stack trace and find the exact line of code that causes the problem. Look
at that line
to determine which class cannot be found. In that source file, make sure there is an
import
statement that includes the package containing the unfound class.
Look at the jar file that supposedly contains the offending class. Type "jar tvf
TheFile.jar" to
see if the offending class is actually there. If not, then get a new jar file. If
so, then check
your wrapper.classpath in jserv.properties to see if that jar file is specified. If
not, then check
the zone.properties file for your servlet zone and see if the jar is specified among
the
repositories. In either case, make sure the path to the jar file is correct (the file
exists).
If none of this helps, then you might post copies of the stack trace, the source file,
and your
jserv configuration files.
-- Travis Low
<mailto:[EMAIL PROTECTED]>
<http://dawnstar.org/travis>
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]