>Hi, Maybe you have to copy the jar manually to your server lib folder. I use eclipse/glassfish and that was the case for me. "Program Files\glassfish4\glassfish\domains\domain1\lib" I suppose it depends on your deployment configurations but certainly it isn't sufficient to just include the jar in your project. Hope it helps, Tomas
Thanks for this. Right now I'm setting this up with a desktop client using JavaFX, so right now no connection to my server. I'm also using Tomcat for my web application, but that's seperate. Why isn't it sufficient to include the jar files? This is how every other extension jar works, I've never had a problem with adding a jar, and then getting to work, unless there was an issue with dependencies needed. As I mentioned I use Netbeans. ___________________________________________________________________________________ I think you need to add ehcache-core as well. I believe shiro-ehcache only has the support to use ehcache. http://mvnrepository.com/artifact/org.apache.shiro/shiro-ehcache/1.2.1 thanks Amish I downloaded echache-core-2.6.9.jar and now everything works.... Thanks so much! I wish it was explained more clearly on the Shiro download page. TBH I think this also happened with s4jlogger I believe I went to the direct page, but I was confused with everything so I don't know if I even tried to download part for Shiro-Log, but I am using Shiro-all so... Thanks again for the help, hopefully Lez, or someone can make that more clear in the dl section and add that link above, since they could use the dependency, or download the jar. Btw thanks for the link, I didn't know maven stored jars and such on their servers, but I guess that makes sense since the dependencies have to connect to something... -- View this message in context: http://shiro-user.582556.n2.nabble.com/EhCache-jar-included-but-getting-java-lang-ClassNotFoundException-net-sf-ehcache-CacheException-tp7580214p7580220.html Sent from the Shiro User mailing list archive at Nabble.com.
