Forum Discussion

frankkDLL's avatar
frankkDLL
Occasional Contributor
8 years ago

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

  • frankkDLL's avatar
    frankkDLL
    Occasional Contributor

    Have installed 2.0.2 on another machine also, so it does not appear to be a dodgy install. The issue persists on both machines