On 8/28/06, Jeff Mutonho <[EMAIL PROTECTED]> wrote:
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
To avoid risking being reprimanded in public :) , I'll say that I'm not
demanding answers ladies and gents.Just wondering if anyone has had any
ideas on how I can try out other ways of resolving this issue?
Thanks
--
Jeff Mutonho
GoogleTalk : ejbengine
Skype: ejbengine
Registered L
[EMAIL PROTECTED]
> Sent: Tuesday, 29 August 2006 7:02 PM
> To: Maven Users List
> Subject: Re: Failing surefire tests
>
> To avoid risking being reprimanded in public :) , I'll say that I'm
not
> demanding answers ladies and gents.Just wondering if anyone has had
any
How did you workout your jar file was not getting included in the test
classpath ?
Thanks
Lakshman
Run with the debug option set and redirect the output to a log file ("mvn -X
install > build.log").Checking the log you'll see something similar to the
following (look for "[DEBUG] Test Classpath
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
> depende
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
Thanx Jörg .I added the true to my
configuration section as shown below :
true
WebContent/
WebContent/WEB-INF/we