frankkDLL
8 years agoOccasional Contributor
Script import issues "java.lang.NoClassDefFoundError" following upgrade from 1.9 to 2.0.2
Hi All,
Getting the following errors running scripts locally in virt-server following upgrade to 2.0.2
- ERROR:java.lang.NoClassDefFoundError: net/minidev/asm/FieldFilter
- ERROR:java.lang.NoClassDefFoundError: Could not initialize class net.minidev.json.JSONValue
The script being run in the virts (which runs fine in 1.8 and 1.9) has the following assembly imports:
import java.util.ArrayList; import java.util.List; import net.minidev.json.JSONObject; import net.minidev.json.JSONValue; import org.apache.commons.lang.StringEscapeUtils; import com.eviware.soapui.support.types.StringToStringMap;
Dodgy install or have certain assemblies/libraries been removed?
Rgds,
Frank
- The short-term resolution is to download and add the following JAR to "C:\Program Files\SmartBear\Ready-API-2.0.2\lib" and then restart Ready API 2.0.2:I am hoping the missing JAR is automatically bundled in future versions.