Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-4707

unable to build spring-hibernate-contacts example, missing dependencies during test execution

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • EAP_EWP 5.1.0_CR3
    • EAP_EWP 5.1.0_CR1
    • RESTEasy
    • None

      There's a problem in /RESTEASY_JAXRS_1_2_GA_CP02/examples/spring-hibernate-contacts/pom.xml that prevents the example from building.

      mvn compile works fine
      mvn install produces errors
      java.lang.NoClassDefFoundError: org/apache/commons/collections/map/LRUMap - fixed by adding dependency commons-collections 3.2
      org.springframework.aop.framework.AopConfigException: Cannot proxy target class because CGLIB2 is not available. Add CGLIB to the class path or specify proxy interfaces. - fixed by adding dependency cglib 2.2

              weli@redhat.com Weinan Li
              mlinhard Michal Linhard (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: