AnsweredAssumed Answered

How can I create an executable JAR from SDK samples?

Question asked by llin on Aug 20, 2007
I ran SDK samples inside Eclipse and they worked fine. But after I exported it to a JAR file and ran it. I got errors. For example,

(1) Export "SDK FirstWebServiceClient" to "C:\test.jar"
(2) Run "java -jar test.jar" from command line, return "Exception in thread "main" java.land.NoClassDefFoundError: org/alfresco/webservice/types/Store".

What did I do wrong? I guess it might be my simple mistake. Could anyone help me out?

Thanks a lot.


Ally

Outcomes