warning javax.* types are not being woven because the weaver option ‘-Xset:weaveJavaxPackages=true’ has not been specified

aop.xml

<aspectj>
    <weaver options="-Xset:weaveJavaxPackages=true">        
        <include within="my.app.*"/>
        <include within="javax.persistence.*"/>
    </weaver>
    <aspects>
        <aspect name="my.app.MyAspect" />
    </aspects>
</aspectj>

Leave a Comment