Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Christopher Olbertz
java.lang.NoClassDefFoundError: org/apache/commons/digester/RuleSet
July 29, 2008 12:49 PM
Answer

Christopher Olbertz

Rank: Regular Member

Posts: 102

Join Date: November 21, 2007

Recent Posts

Hi,

I'm trying to deploy a simple JSF-portlet. But I get this error, when I start it:

18:55:44,031 ERROR [1]:3715] Error configuring application listener of class com.sun.faces.config.ConfigureListener
java.lang.NoClassDefFoundError: org/apache/commons/digester/RuleSet
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.newInstance0(Class.java:326)
at java.lang.Class.newInstance(Class.java:308)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3713)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1217)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1306)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1570)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1559)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.digester.RuleSet
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1363)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1209)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

I'm using Liferay 5.1with Tomcat 5.

Are there any libraries missing?

Can anybody help me?
Vihang Pathak
RE: java.lang.NoClassDefFoundError: org/apache/commons/digester/RuleSet
July 31, 2008 4:36 AM
Answer

Vihang Pathak

Rank: Junior Member

Posts: 42

Join Date: May 14, 2008

Recent Posts

Please check in Tomcat_Install\webapps\ROOT\WEB-INF\lib, if you have commons-digester.jar from apache.

Java Doc here http://commons.apache.org/digester/commons-digester-1.8/docs/api/
John Joe
RE: java.lang.NoClassDefFoundError: org/apache/commons/digester/RuleSet
August 15, 2013 3:26 PM
Answer

John Joe

Rank: New Member

Posts: 1

Join Date: August 15, 2013

Recent Posts

Vihang Pathak! You are genious!! Thanks pal.