AspectJ: Error cannot determine superclass with missing type

I get an error using an aspect in our application.

What do I need to fix this error or what does it tell me?

[AppClassLoader@13b8f62] error can't determine superclass of missing type xxx.yyy.zzz.execution.SystemVersion
when weaving type xxx.yyy.zzz.execution.DefaultDServerConfigurator
when weaving classes 
when weaving 
 [Xlint:cantFindType]
+3
source share
2 answers

This means that a woven type xxx.yyy.zzz.execution.DefaultDServerConfiguratorrequires a type xxx.yyy.zzz.execution.SystemVersion, but either SystemVersion or its superclass cannot be loaded because there are no dependencies.

Essentially, aspects require additional class files / bans that are not in your classpath at runtime.

+5
source

Change option cantFindTypeto

{cantFindType = warning}

The file ajc.propertiessolved the problem for me.

You can specify a properties file with -Xlintfile d:\temp\ajc.properties

+6
source

All Articles