Wednesday, January 21, 2015

“java.lang.OutOfMemoryError: PermGen space” Using Maven build in Netbeans Linux

I'd been searching to solve this problem in hours, then I finally found out the way.I was using netbeans as IDE and maven to build my java web program.I was actually using jetty to run my java web program that produce this error.I hope it can help you too.

This is the reference , but I'm gonna show you how to do that in Netbeans IDE.

In Netbeans set your Maven Home same with your terminal, here the way to find where the path Maven Home :

Saturday, January 17, 2015

Spring Security Problem Cannot Use Method POST

I have expirenced this problem when I was developing my web application using that framework.After I searched on google, I found the solution in stackoverflow.The solution is :

You need to add the following parameter to the end of your action form :