From: SunDevil L. <sun...@gm...> - 2015-02-19 22:53:32
|
I am new for the WSAG4J rest 2.0. I just follow the steps to execute the software and the source is attached. I got a error and I need help to deal with it. The statement SampleAgreementTemplate negotiationTemplate = new SampleAgreementTemplate(template); causes errors Exception in thread "main" java.lang.NoClassDefFoundError: org/ogf/graap/wsag/api/pattern/ComputeResourcePattern at org.ogf.graap.wsag.samples.actions.SampleAgreementTemplate.<init>(SampleAgreementTemplate.java:318) at Main.main(Main.java:222) Caused by: java.lang.ClassNotFoundException: org.ogf.graap.wsag.api.pattern.ComputeResourcePattern at java.net.URLClassLoader$1.run(URLClassLoader.java:372) at java.net.URLClassLoader$1.run(URLClassLoader.java:361) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:360) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 2 more Chris |