Foren
***** URGENT **** NoClassDefFoundError: com/liferay/util/SystemProperties
sharath karnati, geändert vor 13 Jahren.
***** URGENT **** NoClassDefFoundError: com/liferay/util/SystemProperties
Junior Member Beiträge: 79 Beitrittsdatum: 22.10.09 Neueste Beiträge
Hi All,
Getting below error while deploying the application
Can you please let me know which .jar file I need to include to overcome this problem...
Thanks in advance.
Regards,
Sharath.
Getting below error while deploying the application
<jul 30, 2010 1:49:33 pm edt> <error> <deployer> <bea-149202> <encountered an exception while attempting to commit the 7 task for application 'ticketnew-portlet'.>
<jul 30, 2010 1:49:33 pm edt> <warning> <deployer> <bea-149004> <failures were detected while initiating start task for application 'ticketnew-portlet'.>
<jul 30, 2010 1:49:33 pm edt> <warning> <deployer> <bea-149078> <stack trace for message 149004 weblogic.application.moduleexception: [http:101216]servlet: "portletactionservlet" failed to preload on startup in web application: "ticketnew-portlet.war". java.lang.noclassdeffounderror: com liferay util systemproperties at com.liferay.portal.util.propsutil._getdefaultliferayhome(propsutil.java:175) com.liferay.portal.util.propsutil.<init>(PropsUtil.java:91)
at com.liferay.portal.util.PropsUtil.<clinit>(PropsUtil.java:225)
at com.liferay.portal.util.PropsValues.<clinit>(PropsValues.java:37)
</clinit></clinit></stack></bea-149078></deployer></warning></jul></failures></bea-149004></deployer></warning></jul></encountered></bea-149202></deployer></error></jul>
Can you please let me know which .jar file I need to include to overcome this problem...
Thanks in advance.
Regards,
Sharath.
Corné A, geändert vor 13 Jahren.
RE: ***** URGENT **** NoClassDefFoundError: com/liferay/util/SystemProperti
Liferay Legend Beiträge: 1313 Beitrittsdatum: 03.10.06 Neueste Beiträge
You miss out on a depending class inside com.liferay.util.SystemProperties
http://www.jroller.com/sjivan/entry/difference_between_classnotfoundexception_and_noclassdeffounderror
assuming LR 6.0 this is the import list
I can't make up whats missing though
http://www.jroller.com/sjivan/entry/difference_between_classnotfoundexception_and_noclassdeffounderror
assuming LR 6.0 this is the import list
package com.liferay.util;
import com.liferay.portal.kernel.util.GetterUtil;
import com.liferay.portal.kernel.util.PropertiesUtil;
import com.liferay.portal.kernel.util.StringUtil;
import com.liferay.portal.kernel.util.SystemEnv;
import com.liferay.portal.kernel.util.Validator;
import java.io.InputStream;
import java.net.URL;
import java.util.Enumeration;
import java.util.Map;
import java.util.Properties;
import java.util.concurrent.ConcurrentHashMap;
I can't make up whats missing though
alibina Kuzhaniyazova, geändert vor 12 Jahren.
RE: ***** URGENT **** NoClassDefFoundError: com/liferay/util/SystemProperti
New Member Beiträge: 2 Beitrittsdatum: 02.02.12 Neueste Beiträge
hi!
I'm writing test for portlets.
and when i try test it's show to me error:
Error com/lifray/util/SystemProperty
which jar files i should add? to give acces for test enter in to liferay
thks in advance
I'm writing test for portlets.
and when i try test it's show to me error:
Error com/lifray/util/SystemProperty
which jar files i should add? to give acces for test enter in to liferay
thks in advance
Olaf Kock, geändert vor 12 Jahren.
RE: NoClassDefFoundError: com/liferay/util/SystemProperties
Liferay Legend Beiträge: 6403 Beitrittsdatum: 23.09.08 Neueste Beiträge
it's in portal-service.jar that should be on the global classpath for the appserver.