Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Maven-AspectJ1.1.1: the type MyClass is already defined

Something like this can happen when a file is specified twice
(or when a class is defined in two files).  Check that the
input is not redundant.  (I'll add this to the FAQ.)

Wes

P.S. - Now that we use canonical path names, we could actually
prune duplicates from the list of files.  a good RFE.


anders.janmyr wrote:
Hello,

I'm trying to use aspectj with Maven, but I get the strange
error that the class I am trying to compile is already defined.

I have searched archives and FAQs but I cannot find anything like this.

It does not matter if I try to compile Aspects or regular Java files.
The task that I use is ant:iajc.

Any help would be appreciated.

Regards
Anders
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/aspectj-users




Back to the top