J'ai souvent supporté cela depuis longtemps, mais je suis un peu inquiet que cela ralentisse mon processus de construction maintenant. Spring/AspectJ signale quelques avertissements. Je préfère essayer de rendre la construction la plus propre possible, même si cela ne finit pas par l'accélérer.Y a-t-il un moyen de se débarrasser de ces avertissements de ressort/aspectj lors de la construction du projet?
Voici les mises en garde:
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]
Je suis sûr que si vous avez utilisé le printemps, vous avez vu ces derniers. Un moyen de se débarrasser d'eux?
Où dans le processus obtenez-vous ces? – skaffman
@skaffman: Quand il tisse AspectJ dans les classes juste après le processus de compilation. – egervari