Error:
I have created this blog to place some of important things on it for my personal use and also to help others. Now a days I am doing job as Software Engineer in a company. I have completed my graduation in Computer Science from University of Sindh, Jamshoro, Pakistan.
Tuesday, September 10, 2019
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.
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.
Thursday, August 29, 2019
CREATING SHORTCUT ICON TO DISPLAY IN LINUX MENU
Dear Folks,
Today, I am going to describe how to create / bring icon in Linux Menu so instead of going to folder and running .sh (shell extension) file from there, you can simply call it from menu. Please follow below steps.
1) You must be on your home folder path. Mine is
/home/zeeshan/
2) Browse .local/share/applications. (Please note you might not view .local folder until you set "Show All Hidden Files and Folders")
3) Create WebStorm.desktop file and inside file write below content (Please set path in Icon and Exec according to your installation)
[Desktop Entry]
Type=Application
Name=WebStorm
Comment=WebStorm Development
Icon=/home/zeeshan/Softwares/WebStorm-192.6262.59/bin/webstorm.svg
Exec=/home/zeeshan/Softwares/WebStorm-192.6262.59/bin/webstorm.sh
Terminal=false
Categories=Development;IDE;
StartupWMClass=WebStorm
4) Save WebStorm.desktop file and now you can simply browse it from your menu.
Please post your comments below in case if above post help you.
Thanks.
Today, I am going to describe how to create / bring icon in Linux Menu so instead of going to folder and running .sh (shell extension) file from there, you can simply call it from menu. Please follow below steps.
1) You must be on your home folder path. Mine is
/home/zeeshan/
2) Browse .local/share/applications. (Please note you might not view .local folder until you set "Show All Hidden Files and Folders")
3) Create WebStorm.desktop file and inside file write below content (Please set path in Icon and Exec according to your installation)
[Desktop Entry]
Type=Application
Name=WebStorm
Comment=WebStorm Development
Icon=/home/zeeshan/Softwares/WebStorm-192.6262.59/bin/webstorm.svg
Exec=/home/zeeshan/Softwares/WebStorm-192.6262.59/bin/webstorm.sh
Terminal=false
Categories=Development;IDE;
StartupWMClass=WebStorm
4) Save WebStorm.desktop file and now you can simply browse it from your menu.
Please post your comments below in case if above post help you.
Thanks.
Subscribe to:
Posts (Atom)
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...
-
In my case, this error pertains to Oracle Merge query . After 30 minutes of time wastage and a lot of hunting on different forums, I come to...
-
Above problem occur when you have not added a group (of which User try to login) in your local policy login. To resolve the issue, follow t...
-
Dear Readers, I face this problem in a web application build in .aspx. It mainly occurs when you are performing some action with javascrip...