Error could not find or load main class in Eclipse – 3 Ways to Fix

In this tutorial you will learn about the error could not find or load main class in eclipse and the ways that could solve this error. When class loader is unable to load the main class of our application then this error will come. Many reasons are there for this has to be happen. Ways to Fix Error could not find or load main class in Eclipse 1. If Path is Incorrectly Specified This error will come mainly due to

Read more

How to Create Executable JAR File in Eclipse IDE?

Here you will learn how to create executable jar file in eclipse. An eclipse ide provides facility to convert a project into executable jar file in java. This process is really helpful in case you have development some desktop application in java and want an executable file to directly run the application. Also Read: How to Add or Import Jar in Eclipse Project For demonstration purpose I have given simple java program to develop a gui application using swing. You can use

Read more

How to Change Tomcat Port Number?

Here you learn how to change tomcat port number. The default port number of tomcat is 8080. If the port number assigned to tomcat is used by any other application then you can’t run tomcat on that port. In that situation the only solution is to change tomcat default port number. There are two ways to achieve this that I have mentioned below. How to Change Tomcat Port Number?   Method 1: Tomcat Installation Directory 1. Go to conf folder

Read more

How to Add or Import Jar in Eclipse Project

In this tutorial I will show you the simplest way to add or import jar in your eclipse project.   How to Add or Import Jar in Eclipse Project 1. First of all copy all the jars that you want to import.   2. Now paste them inside lib folder of your project. Web Project: For web project you can find the lib folder inside YourProjectFolder > WebContent > WEB-INF > lib. If it is not present there just create lib

Read more