Interstage BOP Version: 4.1
Problem Description:
Error- “java.lang.NoClassDefFoundError: Could not initialize class com.cordys.cws.documenttypes.javaarchivesource.CWSJavaCompiler” while publishing the web service.
Solution:
This is a JDK configuration issue. Apparently cordy’s installer, during its installation, checks only for JRE and not JDK, as it is required for development only. Also it does not have a registry entry and hence not updated in Cordy’s property files. This error occurs due to the usage of wrong JDK so Installation of fresh JDK/JRE should fix the problem.