Java project configuration

Solve Error javax.net.ssl.SSLException: closing inbound before receiving peer’s close_notify

How to solve the java mysql error javax.net.ssl.SSLException: closing inbound before receiving peer’s close_notify While you working on any web application project where we use the MYSQL database to store the information. you might face the error “javax.net.ssl.SSLException: closing inbound before receiving peer’s close_notify“. Let’s understand the reason behind the error and find out a …

Solve Error javax.net.ssl.SSLException: closing inbound before receiving peer’s close_notify Read More »

javax.servlet.http.HttpServlet was not found on the Java Build Path

When we create a new java web project in eclipse or STS. It always shows the error message on JSP page as “javax.servlet.http.HttpServlet” was not found on the Java Build Path. This is a servlet error, It means the project did not find any maven dependencies or jar to use servlet. Now, below are the …

javax.servlet.http.HttpServlet was not found on the Java Build Path Read More »

Could not initialize class org.apache.maven.plugin.war.util.WebappStructureSerializer in pom.xml

Could not initialize class org.apache.maven.plugin.war.util.WebappStructureSerializer in pom.xml eclipse or sts. you might be facing this error in pom.xml. while creating a new project or importing any existing project into eclipse or STS. Maven error “Could not initialize class org.apache.maven.plugin.war.util.WebappStructureSerializer in pom.xml” It’s showing due to the maven and java version incompatibility. To solve this error …

Could not initialize class org.apache.maven.plugin.war.util.WebappStructureSerializer in pom.xml Read More »

Solve Maven Errors in Eclipse or STS in Windows machine

Maven Solution 1: Reset .m2 directory Close your eclipse Delete the .m2 folder from windows user folder “C:\Users\India” Re-run your eclipse. Maven Solution 2: Clean Maven Open Eclipse Open your Maven project. Right Click on pom.xml Click on properties 5.Copy pom.xml location URL Open cmd Write and paste the pom.xml location in the cmd until …

Solve Maven Errors in Eclipse or STS in Windows machine Read More »

Useful code solution for Java Web developers

While developing a web application using JSP, Servlet, Spring, and hibernate or in Java. there are lots of utilities and methods that are required frequently, In this page, I will cover some of them and will keep updating to cover up as much as solutions. Get path of your root folder request.getContextPath() It will return …

Useful code solution for Java Web developers Read More »