Tuesday, September 10, 2019

Cannot Find The Tag Library Descriptor For “http://java.sun.com/jsp/jstl/core”

Error:

Cannot Find The Tag Library Descriptor For “http://java.sun.com/jsp/jstl/core”

Dear Folks,

you might face above error for two reasons.

1) Your Servlet Container does not support JSTL.

2) You did not configure configure your Servlet Container.

 

To resolve the issue either download JSTL jar and place it on desired location or the most easiest way is to download Apache TomEE server which supports JSTL and many other e.g., JMS, etc.

 

After installation, configure it in your IDE or make a package .war and deploy it on server and run your application.

 

I hope above post will help you in resolving your issue. If it helps then please do comment.

 

Thanks.

Monday, September 9, 2019

Spring Boot: Apache Cataline Could not load resource factory class

Error Message:
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener createMBeans
SEVERE: Exception processing global JNDI Resources
javax.naming.NamingException: Could not load resource factory class [Root exception is java.lang.ClassNotFoundException: org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory]



Answer:

While running Spring Boot Project, spring project was unable to start due to above error. After doing some research, I identified that this is due to corrupt installation of Apache Tomcat Server.

Steps to resolve :

1) Download Apache Tomcat Server.
2) Open Eclipse, add apache server again from "Servers" Tab.
3) Run Project.

Hopefully above post will resolve subjected issue. In case if this helps you then please do comment to increase validity of post.

Thanks.


Docker Tutorial

 I have listed all the necessary commands of Docker below. In case if any is missing or if any improvement required, please share in comment...