Giter Site home page Giter Site logo

Comments (6)

meg23 avatar meg23 commented on August 27, 2024

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.

meg23 avatar meg23 commented on August 27, 2024

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.

meg23 avatar meg23 commented on August 27, 2024

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.

meg23 avatar meg23 commented on August 27, 2024

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.

meg23 avatar meg23 commented on August 27, 2024

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.

meg23 avatar meg23 commented on August 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.