This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have a problem I don't understand: Let's say I have a Servlet-Class with HttpServlet as it's supertype for example package.MyServlet. If I try to run a Servlet containing the code: package.MyServlet.class I have no problem. If I try to run my test application containing: package.MyServlet.class I get an ExceptionInInitializeError the first time and NoClassDefFound's when I try a second time.
Has this something to do with security or something ? Thanks for your help