throw new RuntimeException("File " + springJAR
+ " does not exist; this should have been downloaded by the Ant build scripts.");
ClassResolver resolver1 = newClassResolver(springJAR);
Class propertyValueClass = resolver1.findClass("org.springframework.beans.PropertyValue");
Constructor constructor = propertyValueClass.getConstructor(new Class[]
{ String.class, Object.class });
Serializable instance = (Serializable) constructor.newInstance(new Object[]
{ "fred", "flintstone" });