java.lang.NoClassDefFoundError: org/apache/commons/collections/map/LinkedMap
at net.sf.navigator.menu.MenuRepository.<init>(MenuRepository.java:38)
at net.sf.navigator.menu.MenuContextListener.contextInitialized(MenuContextListener.java:57)
at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:540)
Description
java.lang.NoClassDefFoundError: org/apache/commons/collections/map/LinkedMap
at net.sf.navigator.menu.MenuRepository.<init>(MenuRepository.java:38)
at net.sf.navigator.menu.MenuContextListener.contextInitialized(MenuContextListener.java:57)
at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:540)
Matt Raible added a comment - 11/May/08 05:39 PM Workaround is to add the following to your pom.xml:
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<version>${commons.collections.version}</version>
</dependency>
Where commons.collections.version=3.2
3157
by Matt Raible
(1 file)
- APF-1066: Exclude commons-collections from commons-dbcp so newer version (3.2) is used.
11/May/08 05:48 PM (27 months, 6 days ago)
APF-1066: Exclude commons-collections from commons-dbcp so newer version (3.2) is used.
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<version>${commons.collections.version}</version>
</dependency>
Where commons.collections.version=3.2