hi add openejb.classloader.forced-load=org.apache.commons.collections4. in conf/system.properties
Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-09-04 22:01 GMT+02:00 felixulis <[email protected]>: > Hi > > When trying to use classes of the org.apache.commons.collections4 package in > my web application deployed on TomEE 1.6.0.2 I get a ClassNotFoundException. > > I stripped down the web application to just one simple HttpServlet doing > nothing else but calling a method on > org.apache.commons.collections4.CollectionUtils. In the pom.xml there's > nothing else but the dependency to org.apache.commons.collections4: > <dependency> > <groupId>org.apache.commons</groupId> > <artifactId>commons-collections4</artifactId> > <version>4.0</version> > </dependency> > > When deployed, the jar is in the WEB-INF/lib folder. But the exception is > still being thrown. > > When using the classes from apache commons collections 3.2.1, everything > works fine. > > Any tips and hints that help to find the problem's origin are much > appreciated! Thanks, Felix > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/ClassNotFoundException-on-TomEE-1-6-0-2-for-org-apache-commons-collections4-classes-tp4671656.html > Sent from the TomEE Users mailing list archive at Nabble.com.
