[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[aspectj-users] ClassFormatError with an abstract Aspect
|
Hello,
I have a problem with the execution of my project, the console returns
me this error :
Exception in thread "main" java.lang.ClassFormatError: Duplicate method
name&signature in class file fr/irit/etracetool/generic/trace/Tracer
Tracer is an abstract aspect. Its signature is :
public abstract aspect Tracer<TO extends TraceOperation>
in package fr.irit.etracetool.generic.trace.
The aspect concretely woven to my project is EMFTracer, and its
signature is :
public aspect EMFTracer extends Tracer<EMFTraceOperation>
in package fr.irit.etracetool.emf.trace.
Both aspects compile and my project compiles.
In the aspectPath of my project, i have the fr.irit.etracetool.emf.trace
project.
In the BuildPath of my project, i have the
fr.irit.etracetool.generic.trace project.
When i run the project, the error is :
Exception in thread "main" java.lang.ClassFormatError: Duplicate method
name&signature in class file fr/irit/etracetool/generic/trace/Tracer
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
Any ideas ?
Thanks,
Bastien.