• Post Reply Bookmark Topic Watch Topic
  • New Topic

Servlet : Null pointer exception, could not initialize custom class

 
Rajesh Ronald Reagan
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Good day, am struck with a basic error, which the designed application isnt moving ahead.

The servlet which is configured for initializing the backend process throws NPE.

Following is the code of the servlet.



And the web.xml



i gave value 2 since am loading 2 more servlets freemarker and log4j servlet.

I tried in multiple ways but no use.

This is the error log.




Any help would be appreciated.

Regards,
Ronald Reagan Jr.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!