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
Issues Manually Installing Liferay portal 7.2 on Wildfly 11.0
Hello, I am manual installing liferay 7.2 using Widlfly 11.0 on linux and I receive the error below. I have all the petra jars i the module folder. Does anyone know what could cause this exception? I was able to successfully install on Windows.
{"WFLYCTL0080: Failed services" => {"jboss.undertow.deployment.default-server.default-host./" => "java.lang.NoClassDefFoundError: com/liferay/petra/reflect/ReflectionUtil
Caused by: java.lang.NoClassDefFoundError: com/liferay/petra/reflect/ReflectionUtil
Caused by: java.lang.ClassNotFoundException: com.liferay.petra.reflect.ReflectionUtil from [Module \"deployment.ROOT.war\" from Service Module Loader]"}}
{"WFLYCTL0080: Failed services" => {"jboss.undertow.deployment.default-server.default-host./" => "java.lang.NoClassDefFoundError: com/liferay/petra/reflect/ReflectionUtil
Caused by: java.lang.NoClassDefFoundError: com/liferay/petra/reflect/ReflectionUtil
Caused by: java.lang.ClassNotFoundException: com.liferay.petra.reflect.ReflectionUtil from [Module \"deployment.ROOT.war\" from Service Module Loader]"}}
I was able to figure out the problem. The reference to the petra reflect jars was missing from module.xml file
Now when I retart the Widfly server to load Liferay 7.2 I am getting the following error below. Can anyone advise as to why this exception is thrown? It seems there is a reference to JDK11 which we are not using."{\"WFLYCTL0080: Failed services\" => {\"jboss.undertow.deployment.default-server.default-host./\" => \"java.lang.NoSuchMethodError: com.liferay.portal.kernel.util.JavaDetector.isJDK11()Z
Caused by: java.lang.NoSuchMethodError: com.liferay.portal.kernel.util.JavaDetector.isJDK11()Z\"}}"
Caused by: java.lang.NoSuchMethodError: com.liferay.portal.kernel.util.JavaDetector.isJDK11()Z\"}}"
I was able to successfully installed version 7.2. The problem was I had the old portal.jar in the modules folder I replaces it with the new 7.2 jar
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™