xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ricardo Rocha" <rica...@apache.org>
Subject RE: Simple help on Cocoon DCP-classes
Date Mon, 17 Jan 2000 17:32:25 GMT
> Sorry, i am confuesd. It was i the jserv.properties (not cocoon) and
> then the NoClassDefFoundError comes up.
> If it is not in the classpath i get a different Error (DCP Error:..could
> not find class; it is part of the response page).
> With CodeWarrior i build a DCPTest.jar file from
> DCPTest.java

A common reason for NoClassDefFoundError in DCP is
when your DCP class itself _is_ accessible through the
classpath but another class it uses internally is not.

You should check your code and verify what classes are
used by your DCP class (directly or indirectly) such that
they're accessible through the classpath when your first
compile the DCP class but are not accessible to Jserv
because they're not included in the proper wrapper.classpath.
entry.

Mime
View raw message