Wednesday 16 April 2014

PWC6345: There is an error in invoking javac. A full JDK (not just JRE) is required

"org.apache.jasper.JasperException: PWC6345: There is an error in invoking javac.  A full JDK (not just JRE) is required"

If you receive this error please know that your web Server requires JDK instead of JRE version. 
 I faced this in jetty application.
 Below is the solution for Jetty:

Solution:

  1. Go to "start.d"  folder.
  1. Open "jsp.ini" file.
  1. Uncomment the below yellow highlighted  line.

# JSP Configuration
# To use an non-jdk compiler for JSP compilation uncomment next line
 -Dorg.apache.jasper.compiler.disablejsr199=true


Some how if it comes on Other servers , better you check the java path  ref in that server configuration.
Or
Uninstall all java version and install jdk .


No comments:

Post a Comment

Please comment here