Removing ehcache dependency as it has vulnerabilities #11570
Unanswered
JurisPipurs
asked this question in
Q&A
Replies: 1 comment
-
Can you find the following dependency in your project?
https://www.playframework.com/documentation/2.8.x/ScalaCache#EhCache Play Framework does not include ehcache by default. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
The latest version of net.sf.ehcache contains vulnerabilities and I would like to remove it from my sbt project and use caffeine instead.
If I add
excludeDependencies ++= Seq(ExclusionRule("net.sf.ehcache", "ehcache"))
to my build.sbt file, I get NoClassDefFoundError: net/sf/ehcache/CacheManager when trying to run the project.
My question is: is it possible to remove ehcache dependency from the project?
I'm currently using play framework version 2.8.15
Beta Was this translation helpful? Give feedback.
All reactions