You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Adriano Smith <or...@sify.com> on 2004/08/31 15:58:11 UTC

jar in xsp

i have a jar sm.jar which is in WEB-INF/lib directory.

It has com/sf/database/Mydb.class

However i get an error in the logs:
java.lang.NoClassDefFoundError: Mydb

In my xsp i have the statement 
 <xsp:include>com.sf.database.*</xsp:include>

The statement below, however, gives the error:

com.sf.database.Mydb db= new com.sf.database.Mydb();

is there anything else which needs to be included?
i have restarted cocoon also.