You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Code was compiled with Xstream 1.4.11 which is not able to load, due to security features added to XStream.
need to add to POM.xml
com.thoughtworks.xstream
xstream
1.4.20
add the below lines:
public static String buildXmlFromRuleset(Ruleset tree) {
Class<?>[] classes = new Class[] { Ruleset.class,Rule.class,DelphiRule.class, Property.class};
XStream xstream = new XStream();
XStream.setupDefaultSecurity(xstream); // support for Xstream 1.4.20
xstream.allowTypes(classes); // support for Xstream 1.4.20
and in:
private static Ruleset buildRuleSetFromXml(String configuration) {
Class<?>[] classes = new Class[] { Ruleset.class,Rule.class,DelphiRule.class, Property.class};
XStream xstream = new XStream();
XStream.setupDefaultSecurity(xstream);
xstream.allowTypes(classes); // support for Xstream 1.4.20
The text was updated successfully, but these errors were encountered:
Code was compiled with Xstream 1.4.11 which is not able to load, due to security features added to XStream.
need to add to POM.xml
com.thoughtworks.xstream
xstream
1.4.20
add the below lines:
public static String buildXmlFromRuleset(Ruleset tree) {
Class<?>[] classes = new Class[] { Ruleset.class,Rule.class,DelphiRule.class, Property.class};
and in:
private static Ruleset buildRuleSetFromXml(String configuration) {
The text was updated successfully, but these errors were encountered: