Is there any way to get rid of these spring / aspectj warnings when creating a project?

I have often seen this for a long time, but I'm a little worried that it slows down the build process. There are a few seconds that are considered as Spring / AspectJ reports these warnings. I would prefer to try to make a clean assembly, even if it does not accelerate it.

Here are the warnings:

Found @DeclareAnnotation while current release does not support it (see 'org.aspectj.weaver.bcel.AtAjAttributes')
advice defined in org.springframework.orm.jpa.aspectj.JpaExceptionTranslatorAspect has not been applied [Xlint:adviceDidNotMatch]
advice defined in org.springframework.mock.staticmock.AnnotationDrivenStaticEntityMockingControl has not been applied [Xlint:adviceDidNotMatch]
advice defined in org.springframework.mock.staticmock.AbstractMethodMockingControl has not been applied [Xlint:adviceDidNotMatch]
advice defined in org.springframework.scheduling.aspectj.AbstractAsyncExecutionAspect has not been applied [Xlint:adviceDidNotMatch]

I am sure that if you used spring, you saw them. Any way to get rid of them?

+5
source share
1 answer

, readAj5ClassAttributes . , - , . , , , "org.aspectj.lang.annotation", "Lorg/aspectj/lang/annotation/DeclareAnnotation;" @DeclareAnnotation -.

, , , , :

. - : http://www.jarfinder.com/index.php/java/info/org.aspectj.weaver.bcel.AtAjAttributes
http://www.jarvana.com/jarvana/search?search_type=class&java_class=org.aspectj.weaver.bcel.AtAjAttributes

,

+2

All Articles