Hello Everyone In this tutorial you will learn. The complete configuration of the java project. Please follow the following steps one by one.
Install Java Development Kit (JDK)
At the very first step, you need Installed JDK in your machine. So before install please check JDK in your machine if it’s not there then you need to download and install the new currently JDK 12 is available in the market. But as per the codebun’s project, JDK 1.8 will be enough.
Step 2) Extract File and copy at any location in your machine for example “C drive”.
Step 3) Again Switch to sts tool/Eclipse and search for server window. Follow the path to find server window
=>Windows=>Show view=>Others=> Server.
Step 4) Right click in the server window and select
New=>server=>Apache=>Tomcat 8.5 Server=>Next.
Step 5) Browse the tomcat folder which we had copied in “C drive”.
Step 6) Click to Next and Finish.
Finally, Run Your Project
Step 1) switch to STS tool/Eclipse.
Step 2) Right-click on the project and select “Run As” then “Run on server”.
Step 3) Select “Tomcat 8.5” from the localhost.
Step 4) Click to next and finish.
So Till now, we have cover the complete process of java web project configuration. In below steps we will cover the error which you may find during the configuration process. I have cover most of them but If you get any new error during the configuration. please comment me with screenshot. We will find the best solution and link here the solution.
Port 8080 already in use.
Step 1) Switch to sts tool server window.
Step 2) Double click to “Tomcat server 8.5” and observe the post section table.
Step 3) Change the port number from the “Port Number” column and Save (ctrl+s).
Step 4) Clean and restart the server.
How to change the table data in MYSQL || Explore database
Change the database password in the project || Edit system.properties file
Note: Codebun also provides the configuration process remotely at your machine you have to pay 500rs Extra for the one-time configuration process with demo.