RE: Errors running JUnit tests

Jon Tirsén <[email protected]> Mon, 10 Feb 2003 21:01:53 +0100
Newsgroups gmane.comp.java.nanning.devel
Message-ID <000301c2d13f$42cbc2f0$6c4a59d5@jon>
I've corrected some tests that didn't run properly in Maven (even though
they ran from within IntelliJ).

My guess is that you didn't do a clean-build. I've changed things pretty
extensively the latest days... Try: "maven clean test"

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On 
> Behalf Of Christoph Kiehl
> Sent: Monday, February 10, 2003 6:27 PM
> To: [email protected]
> Subject: [Nanning-developer] Errors running JUnit tests
> 
> 
> Hi,
> 
> I just checked out the current cvs version and tried to built 
> it with maven. But there are a lot of errors reported like 
> the following:
> 
> .
> .
> .
> Testsuite: com.tirsen.nanning.AspectClassTest
> Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 0,219 sec
> 
> Testcase: testThrowsCorrectExceptions took 0,094 sec
>  Caused an ERROR 
> com.tirsen.nanning.AspectInstance.<init>(Lcom/tirsen/nanning/d
> efinition/Aspe
> ctRepository;Ljava/lang/Object;)V
> java.lang.NoSuchMethodError: 
> com.tirsen.nanning.AspectInstance.<init>(Lcom/tirsen/nanning/d
> efinition/Aspe
> ctRepository;Ljava/lang/Object;)V
>  at
> com.tirsen.nanning.definition.AspectClass.newInstance(AspectCl
> ass.java:44)
>  at
> com.tirsen.nanning.definition.AspectClass.newInstance(AspectCl
> ass.java:40)
>  at 
> com.tirsen.nanning.AspectClassTest.testThrowsCorrectExceptions
> (AspectClassTe
> st.java:35)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method)  at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
> orImpl.java:39
> )
>  at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> odAccessorImpl
> .java:25)
> .
> .
> .
> 
> Did I miss anything? I get the same error if I try to do 
> something with nanning ... any ideas?
> 
> Thanx
> Christoph
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 
> 2 See! http://www.vasoftware.com 
> _______________________________________________
> Nanning-developer mailing list [email protected]
> https://lists.sourceforge.net/lists/listinfo/nanning-developer
> 



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com