environment: appfuse v2m4 + struts basic archetype

My appfuse application originally worked properly until I added the
following dependency to pom.xml:

    <dependencies>
        ......
        <dependency>
                <groupId>jasperreports</groupId>
                <artifactId>jasperreports</artifactId>
                <version>1.3.1</version>
        </dependency>
    </dependencies>

Once the above jasperreports dependency is added, executing "mvn
integration-test" failed with the following error messages:

[INFO] [talledLocalContainer] [myproject] ERROR [main]
0-SNAPSHOT].listenerStart(3768) | Exception sending context initi
alized event to listener instance of class
net.sf.navigator.menu.MenuContextListener
[INFO] [talledLocalContainer] java.lang.NoClassDefFoundError:
org/apache/commons/collections/map/LinkedMap
[INFO] [talledLocalContainer]   at
net.sf.navigator.menu.MenuRepository.<init>(MenuRepository.java:38)
[INFO] [talledLocalContainer]   at
net.sf.navigator.menu.MenuContextListener.contextInitialized(MenuContextListener.java
:57)

I surfed the web and found out a related discussion at:
http://www.nabble.com/(no-subject)-t1718406.html
which says:
"You need to upgrade to the latest release of commons-collections.  Struts
Menu uses 3.0."

So, now my question is:
How to configure pom.xml to avoid the dependency conflict of
commons-collections so that I can use JasperReports?

Thanks in advance.
-- 
View this message in context: 
http://www.nabble.com/struts-menu-dependency-conflict-of-commons-collections-tf3472250s2369.html#a9689867
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to