Reputation: 12905
I get the error using an aspect in our application.
What do I need to fix this error or what does this say to 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]
Upvotes: 10
Views: 18410
Reputation: 337
Had the same issue with oracle and kamon-jdbc, adding the following resources/META-INF/aop.xml
file helped:
<!DOCTYPE aspectj PUBLIC "-//AspectJ//DTD//EN" "http://www.eclipse.org/aspectj/dtd/aspectj.dtd">
<aspectj>
<weaver options="-Xlint:ignore">
<include within="oracle.jdbc..*"/>
</weaver>
</aspectj>
Upvotes: 6
Reputation: 91
Changing the option cantFindType
to
{cantFindType = warning}
in the ajc.properties
file solved the problem to me.
You can specify the property file with -Xlintfile d:\temp\ajc.properties
Upvotes: 9
Reputation: 28737
This means that when weaving type xxx.yyy.zzz.execution.DefaultDServerConfigurator
, the type xxx.yyy.zzz.execution.SystemVersion
is required, but either SystemVersion or its superclass cannot be loaded because dependencies are missing.
Essentially, the aspects require extra class files/jars that are not on your classpath at runtime.
Upvotes: 5