Как удалить предупреждение cantFindType с помощью aspectj agent?

#aspectj

#aspectj

Вопрос:

С помощью aspectj agent я получаю

 [Xlint:cantFindType]
[Loader@203d1d93] error can't determine whether missing type org.slf4j.Logger is an instance of java.net.InetAddress
when weaving type org.eclipse.jetty.util.log.Slf4jLog
when weaving classes
when weaving
 

Как я могу удалить это предупреждение?

Спасибо

Ответ №1:

Используйте META-INF/aop.xml файл с

 <aspectj>

    <!--<weaver options="-verbose ">-->
    <weaver options="-warn:none -Xlint:ignore">
    </weaver>

</aspectj>