I found the problem myself. There was a jar file with a old class DocGenContainer in the class path...
Thanks Akotaobi, Uche wrote: > > [Immi] >> I created my own Container"DocGenContainer" generating documentation >> about >> entities and services inside ofbiz. The Container is similar to >> TestRunContainer with the difference that I reference service and entity >> classes: > > [snip] >> import org.ofbiz.service.GenericServiceException; > > [snip] >> Now. If I try to start ofbiz with this container (java -jar ofbiz.jar >> -docgen) I get the following error: >> >> 2007-02-07 14:12:11,831 (main) [ >> ComponentContainer.java:120:INFO ] All components loaded >> 2007-02-07 14:12:11,846 (main) [ClassLoaderContainer.java:50 >> INFO ] CachedClassLoader created Exception in thread "main" >> java.lang.NoClassDefFoundError: >> org/ofbiz/service/GenericServiceException >> >> Does somebody has an idea what's wrong?? > > > Hi, Immi. Is framework/service/build/lib/ofbiz-service.jar in your > container > project's classpath? Our Ant build files tend to include *.jar from > framework/*/build/lib, just to be on the safe side. > > -- > Uche O. Akotaobi > Workflow Engineer > Xerox Corporation > 701 South Aviation Blvd., ESAE-116 > El Segundo, CA 90245 > Phone (310) 333-2403 Internal 8*823-2403 > Fax (310) 333-8419 > [EMAIL PROTECTED] > > XEROX > Technology. Document Management. Consulting Services > > www.xerox.com > > -- View this message in context: http://www.nabble.com/Classpath-problem-with-my-own-Container-tf3186911.html#a8860636 Sent from the OFBiz - User mailing list archive at Nabble.com.
