Comments (6)
From [email protected] on February 24, 2009 03:34:48
PS: Root Cause is:
java.lang.NoClassDefFoundError: org/owasp/validator/html/PolicyException
Looks like a Class cannot be found...
from esapi-java-legacy.
From [email protected] on April 16, 2009 13:10:13
Have you checked the "Problems" tab? Is there a warning similar to this?
Classpath entry C:/Users/XXXX/Downloads/owasp-esapi-full-java-1.4.jar will not be
exported or published. Runtime ClassNotFoundExceptions may result.
If so, check if there is a "Quick Fix" when you right click on the problem. For me,
it says, "Mark the associated raw classpath entry as a publish/export dependency".
This solves the problem for me.
from esapi-java-legacy.
From [email protected] on April 16, 2009 13:34:46
To manually fix this issue, right-click the project and choose "Properties".
Select "Java EE Module Dependencies" from the list on the left.
If the ESAPI JAR is already listed, be sure it is checked off on the list.
If the ESAPI JAR is not listed, add it with "Add JAR" or "Add External JAR".
Apply. This should export ESAPI to the server to resolve your problem.
Status: Fixed
Owner: kfealz
from esapi-java-legacy.
From [email protected] on July 09, 2009 05:15:12
There are dependancies not mentioned in the set-up. You need to include the antisamy
jar in your classpath also - it contains the missing class.
from esapi-java-legacy.
From [email protected] on May 01, 2011 23:07:15
Add these lines to pom.xml
<dependencies>
<dependency>
<groupId>owasp-esapi</groupId>
<artifactId>owasp-esapi</artifactId>
</dependency>
<dependency>
<groupId>antisamy</groupId>
<artifactId>antisamy</artifactId>
</dependency>
<dependency>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
</dependency>
</dependencies>
Then try with a clean/package. In case, if its still not working try with a clean/install/package
from esapi-java-legacy.
From [email protected] on December 14, 2011 12:44:16
make sure you include antisamy-1.4.4.jar in your project
from esapi-java-legacy.
Related Issues (20)
- canonicalize sees entity which isn't there HOT 7
- ESAPI excludes transitive dependency xalan from xom, but does not include it itself HOT 2
- Logs printed using println() are always printed and no option to disable them. HOT 2
- Insecure default signature key length HOT 3
- Change AntiSamy to eventually use SAX parser by default, but allow DOM parser to be used for backward compatibility
- Does esapi-java-legacy support jDK17 HOT 1
- Fix typo in comment in validation.properties files HOT 2
- Option to omit event type prefix in logs HOT 1
- Fix Encoder.encodeForLDAP and Encoder.encodeForDN so they are strictly conformant with Section 3 of RFC 4515 HOT 1
- decode method doesn't work proper for some strings HOT 3
- Revert Dependency Check goal from 'purge' to 'check' once NVD API stops returning 503 'Service Unavailable' errors HOT 1
- DefaultEncoder / getCanonicalizedURI returns mix encoding for HTML special characters HOT 5
- Fix Encoder.getCanonicalizedURI(URI) for the test case of a double-ampersand in the HTML Query HOT 1
- HTMLEntityCodec Mysteriously decodes &or HOT 11
- java.io.FileNotFoundException Error in Logs When ESAPI.properties and validation.properties are in resources. and the application is up ,features are not working. HOT 9
- easpi .properties and validation properties are present but still it is throwing error and the application is failing do you have any solution for this HOT 3
- Validator.isValidSafeHTML() is vulnerable as per CVE-2023-4780 HOT 1
- Validation does not work with esapi jakarta jar HOT 3
- Getting org.owasp.esapi.errors.ConfigurationException: java.lang.reflect.InvocationTargetException Encoder class (org.owasp.esapi.reference.DefaultEncoder) CTOR threw exception. HOT 4
- ConcurrentModificationException HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esapi-java-legacy.