Search code examples
jakarta-eeglassfishpayara

Xplanner not deploy on Payara/Glassfish server


I had this error when trying to deploy xplanner-plus in payara (glassfish), I have all the applications I work with, but when I try to deploy xplanner-plus, this happens. In another pc with the same payara has gone well. But I need to deploy it on my pc.

org.apache.catalina.core.StandardHostValve@7744dad3: Exception Processing ErrorPage[exceptionType=javax.servlet.ServletException, location=/WEB-INF/jsp/common/unexpectedError.jsp]
org.apache.jasper.JasperException: PWC6345: There is an error in invoking javac.  A full JDK (not just JRE) is required

Solution

  • You need to run Payara Server with Java JDK edition, not with JRE. Some functionality in GlassFish/Payara is available only with JDK.

    In your case, compiling JSPs requires Java compiler (javac) in the Java installation. You could avoid this exception if you precompiled all JSPs during build time (e.g. with a maven plugin).