xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sascha M┬čller <sascha.muel...@fh-koeln.de>
Subject Re: Simple help on Cocoon DCP-classes
Date Mon, 17 Jan 2000 17:44:27 GMT


Ricardo Rocha schrieb:
> 
> > 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.
I see.
> 
> 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.

In my class i just use the same classes and methods as in the
org.apache.cocoon.example.DCPExample
The example works fine.

Sorry i have no idea.

Sascha

Mime
View raw message