I'm using Tomcat 4.1.29 and OJB 1.0 rc4.

I've tested my class using JUnit and it's correct, but when I deploy to Tomcat this message happens when trying to create a Persistence Broker.

java.lang.NoClassDefFoundError
at org.apache.ojb.broker.PersistenceBrokerFactory.createPersistenceBroker(Unknown Source)


This is my directory structure simplified.

TOMCAT_HOME -+
            +--WEB-INF-+
                       +--OBJ.properties
                       +--repository.xml
                       +--lib-+
                              +--db-obj-1.0-rc4.jar

As my class is running perfeclty standalone but no when I deploy, anyone knows what is missing?

Regards,
Rog�rio



Reply via email to