Java project configuration

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 »