AnsweredAssumed Answered

Problem with TestModel

Question asked by guiyan17 on Feb 15, 2007
Latest reply on May 17, 2012 by sharifu
Hello everybody,

I've got a little problem when I try to use the TestModel class to test my custom model.

I used the following command :
java -cp ".;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\commons-logging.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\core.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\repository.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\jibx-bind.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\jibx-run.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes" org.alfresco.repo.dictionary.TestModel alfresco/extension/customModel.xml

But I receive the following error :
Exception in thread "main" java.lang.NoClassDefFoundError :  org.alfresco.repo.dictionary.TestModel

Is anybody know why it can't find my TestModel class?

Thank you very much.

Yannick

Outcomes