I got the Jasypt 1.8 and i have jasypt-1.8 folder but how can i add this new libraries to my project org.jasypt doesnt appear so what i need to do?

Dani AI

Generated

Short note tied to the thread: was right that the IDE/build tool must be used to place the library on the project classpath, and ’s follow-up (video) indicates the problem was a classic classpath mistake. Practical, reproducible steps and checks follow.

NetBeans (Ant projects)

  • Project Properties → Libraries → Compile → Add JAR/Folder — select the actual JAR from the jasypt-1.8 distribution (not the distro folder or ZIP).
  • Alternative: create a project lib folder, copy jasypt-1.8.jar there, then add that JAR via Project Properties so it becomes part of the compile/runtime classpath.
  • For global reuse: Tools → Libraries → New Library → Add JAR, then add that library to any project.

Maven / Gradle

  • Prefer a build-tool dependency instead of manual JARs. Example Maven snippet:
    <dependency>
    <groupId>org.jasypt</groupId>
    <artifactId>jasypt</artifactId>
    <version>1.8</version>
    </dependency>
  • Gradle example:
    implementation 'org.jasypt:jasypt:1.8'

Quick troubleshooting checklist

  • Confirm the JAR actually contains the org/jasypt classes:
    jar tf jasypt-1.8.jar
  • Clean and rebuild the project; restart NetBeans if the IDE cache seems stale.
  • For web apps, ensure the JAR ends up in WEB-INF/lib.
  • If Maven/Gradle is used, remove any manual JAR additions and rely on the dependency to avoid classpath duplication.
  • If imports still fail, run a dependency tree or inspect classpath entries to find missing transitive libraries or conflicting versions.

This addresses the common causes that make org.jasypt not appear in NetBeans even when the distribution folder is present.

Recommended Answers

All 7 Replies

1) Most of the IDEs have way how to import external libraries, so either tell us which you use or search for your self
2) Using building tools Ant, Maven, Gradel you can add dependencies that your project needs

I am using netbeans but i added the folder but still doesnt appear the library when i use the org.jasypt

Sorry your reply is not clear due to poor problem explanation with either limited English or lazy written English. So if you try to explain more in detail I'm sure someone can help you.

never mind I solved the problem already.

So why not to share solution...

As expected you did not add your libraries properly. You see if you posted steps (a proper problem description as I suggested) anyone would have told you that you didn't do it properly...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.