Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

URGENT: How to config the security provider in JBuilder 5 /Tomcat 3.2  RSS feed

Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using some encrypt library in my code. I added the line:
into the file at:
Then I can make any stand alone application at JBuilder in which I call the encrypt mathod in the library. But when I do the same thing in a servlet, I still can compile it correctly, but when I run it, it will give me a java.lang.nullPointerException
It looks that the problem is in the encrypt, maybe I didn't set the security.provider for Tomcat correctly, how to config this?

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!