Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Liferay 7.2.x and OpenJDK 11.0.6
OpenJDK 11.0.6 was released a couple of weeks ago and it seems to cause problems with Liferay CE 7.2.0 and 7.2.1 (and possibly also with older releases).
An example with OpenJDK 11.0.6:
Has anyone faced the same problem? Any suggestions?
javax.portlet.PortletException: org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP
Looking into ${liferay_home}/work shows that subdirectories are created properly but there are no .java nor .class files.An example with OpenJDK 11.0.6:
$ find work/com.liferay.login.web-4.0.8
work/com.liferay.login.web-4.0.8
work/com.liferay.login.web-4.0.8/org
work/com.liferay.login.web-4.0.8/org/apache
work/com.liferay.login.web-4.0.8/org/apache/jsp
same with OpenJDK 11.0.4:$ find work/com.liferay.login.web-4.0.8
work/com.liferay.login.web-4.0.8
work/com.liferay.login.web-4.0.8/org
work/com.liferay.login.web-4.0.8/org/apache
work/com.liferay.login.web-4.0.8/org/apache/jsp
work/com.liferay.login.web-4.0.8/org/apache/jsp/login_jsp.class
work/com.liferay.login.web-4.0.8/org/apache/jsp/navigation_jsp.class
work/com.liferay.login.web-4.0.8/org/apache/jsp/navigation_jsp.java
work/com.liferay.login.web-4.0.8/org/apache/jsp/login_jsp.java
This seems to happen with all customized and Liferay's own .jsp files. Possibly an issue with the jsp -> java compiler.Has anyone faced the same problem? Any suggestions?
Stick with 11.0.4 until the issue gets resolved?
Have you opened a ticket on issues.liferay.com?
Have you opened a ticket on issues.liferay.com?
Just opened a ticket, LPS-107983
An annoying "bug", I had to use the version of the JDK without downgrades and a GA distribution of Liferay.
Here are the files for easy access if anyone needs it - I spent sometime trying to fulfill this requirements from a deployment team request (I am also leaving this here for future reference):
Here are the files for easy access if anyone needs it - I spent sometime trying to fulfill this requirements from a deployment team request (I am also leaving this here for future reference):
- 7.2.1 GA2: com.liferay.portal.osgi.web.servlet.jsp.compiler-4.0.14-esystems-1.jar
- 7.2.0 GA1: com.liferay.portal.osgi.web.servlet.jsp.compiler-4.0.5-esystems-1.jar
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™