muchl / owaspantisamy

Automatically exported from code.google.com/p/owaspantisamy
0 stars 0 forks source link

java.lang.NoClassDefFoundError: org/cyberneko/html/filters/DefaultFilter #127

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
InputStream policyFile = 
StaticSupportAction.class.getResourceAsStream("antisamy-tinymce-1.4.4.xml");
        Policy policy = Policy.getInstance(policyFile);
        AntiSamy as = new AntiSamy();
        CleanResults cr = as.scan(request.getParameter("type"), policy, AntiSamy.SAX); 

What is the expected output? What do you see instead?
Expected output: purified value
What is see instead: java.lang.NoClassDefFoundError: 
org/cyberneko/html/filters/DefaultFilter

What version of the product are you using? On what operating system?
Version: antisamy-1.4.4.jar
OS v Windows7

Please provide any additional information below.

Original issue reported on code.google.com by Joyd...@gmail.com on 5 Mar 2012 at 3:20

GoogleCodeExporter commented 8 years ago
Hello,

Is it recommended to use nekohtml-1.9.9.jar?

Regards,
Joydeep

Original comment by Joyd...@gmail.com on 6 Mar 2012 at 5:16

GoogleCodeExporter commented 8 years ago
Hi,

This can be closed. It was supporting jars which were missing.

Original comment by Joyd...@gmail.com on 6 Mar 2012 at 8:49

GoogleCodeExporter commented 8 years ago

Original comment by arshan.d...@gmail.com on 22 Mar 2012 at 1:46