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:

  package org.ofbiz.docgen.container;

  import org.ofbiz.base.container.Container;
  import org.ofbiz.base.container.ContainerConfig;
  import org.ofbiz.base.container.ContainerException;
  import org.ofbiz.entity.GenericDelegator;
  import org.ofbiz.service.GenericDispatcher;
  import org.ofbiz.service.GenericServiceException;
  import org.ofbiz.service.LocalDispatcher;

  public class DocGenContainer implements Container {
  ...}

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??

Michael
-- 
View this message in context: 
http://www.nabble.com/Classpath-problem-with-my-own-Container-tf3186911.html#a8845147
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to