NoClassDefFoundError when executing Silk4J test in Silk Central
I'm just getting started with Silk Central / Silk4J. I created some keywords in Silk4J and uploaded them to Silk Central. I created a sample test in Silk Central using a keyword and am getting a NoClassDefFoundError for the Desktop class from the silktest-jtf-nodeps jar. I modified the build.xml to include the buildlib folder jars in the output, but it didn't fix the problem. Is there a directory on the Silk Central server or the execution server where I need to drop the jars in order for the classes to be found, or is there some sort of configuration problem? I haven't found any posts by anyone having this issue, and I've scoured the documentation to no avail.
I think you have to add the silktest-jtf-nodeps jar path (relating the execution server local path to the jar) in the classpath property of the test in SilkCentral (default = C:\Program Files (x86)\Silk\SilkTest\ng\JTF\silktest-jtf-nodeps jar )
You may also need to declare other jars in the classpath (maybe like SilkTest_Java3.jar) regarding to the dependencies used in your tests.
If you create the same test in Silk Test - can you run it successfully?
There could be several reasons for your problem - like ST/SC version problem, problem with ST version installed on the execution server, etc. - please work with the support team for quickest resolution.