Categories
Eclipse Java

Tomcat requires JDK or JRE ?

Tomcat documentation specifies JRE for installation. The minimum version of JRE depends on Tomcat version, check out the chart below JDK can also be used in place of JRE, for JRE environment variables will be JRE_HOME, and for JDK JAVA_HOME JDK provides certain additional startup option The difference using JDK over JRE is to enable […]

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 […]