Jeff Mutonho wrote on Monday, August 28, 2006 3:44 PM: > I'm trying to run some junit on one of sub-modules( a > webservice project) > and am getting a java.lang.ClassNotFoundException: > za.co.portal.efulfilment.SomeClass. > > SomeClass is my war and I've added the war file in my pom's > dependency section, as > > <dependency> > <groupId>za.co.pragmaticus.portal</groupId> > <artifactId>portal</artifactId> > <version>1.0.0</version> > <type>war</type> > </dependency> > > > > > Is what I'm doing incorrect?
WARs are not added to the classpath, see MWAR-32. Try to set the archiveClasses element of the war configuration set to true and depend on the generated jar. - Jörg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
