I am having a small problem when I am running tomcat in IntelliJ. See below the stacktrace fragment. I have JCE installed in the proper location in my OXS jdk 1.7 location
When I deploy my artifact to the SAME tomcat installation and start tomcat from the commandline it works perfectly.
But when I start the SAME application from within IntelliJ on the SAME tomcat installation it gives the exception below.
org.jasypt.exceptions.EncryptionOperationNotPossibleException: Encryption raised an exception. A possible cause is you are using strong encryption algorithms and you have not installed the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files in this Java Virtual Machine
I have checked the jdk I am using in IntelliJ. It takes it from the same location. I have even added the JCE files to my SDK classpath for 1.7
Can anyone tell me if I need to do more to be able to run a webapplication on tomcat from within IntelliJ??