Categories
Maven

How to install Maven in Windows 10

If you get an error “‘mvn’ is not recognized as an internal or external command, operable program or batch file”, Follow the steps below to install Maven correctly. Step 1: Download Maven from Maven Website zip file Step 2: Extract it to C folder Step 3: Add MAVEN_HOME to system variable Step 4: Add %MAVEN_HOME%\bin […]

Categories
Spring

Fix: Errors occurred during the build.Errors running builder ‘Maven Project Builder’

If you encounter error “Errors occurred during the build.Errors running builder ‘Maven Project Builder’ on project ‘springbootdemo’.Could not initialize class org.codehaus.plexus.archiver.jar.JarArchiver” while running project in Spring tool, select the proper JDK. I my case it is fixed by selecting JDK 13. Click on Project folder -> Run As -> Run Configuration Go to JRE tab […]

Categories
Spring

Fix: an error was logged in the error log which is inactive of an incompatibility of ‘plexus-archiver’ maven plugin with jdk 13

If you are facing error “an error was logged in the error log which is inactive of an incompatibility of ‘plexus-archiver’ maven plugin with jdk 13”, change the jdk from installed jdk list or install install other jdk In order to change jdk, click on project -> Run as -> Run configuration Go to JRE […]