Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Trying to weave but get error

>>> The version of aspectj-maven-plugin is for jdk 11 support. It was
>>> urgent at the time.

> https://github.com/mojohaus/aspectj-maven-plugin/commit/c4164ff

No, this commit was about Java 9/10 support.

>> -- AspectJ version

> [Mikael] 1.9.1

That release also was about Java 10 support:
https://www.eclipse.org/aspectj/doc/released/README-191.html

Java 11 support came one release later:
https://www.eclipse.org/aspectj/doc/released/README-192.html

1.9.3 was Java 12, 1.9.4 had a couple of important bugfixes, 1.9.5 supports Java 13.

My recommendation is to use this fork:
https://mvnrepository.com/artifact/com.nickwongdev/aspectj-maven-plugin/1.12.6

It should support AspectJ 1.9.5 (please also upgrade) and up to Java 13.
The Mojohaus maintainer knows about it and got a pull request. IntelliJ
IDEA's new 2020.x version will support it too for importing AspectJ
projects.

> ...\InjectedFunctionForRegressionChecker.java:6:0::0
> The import ...RegressionSetInjectableFunctionAction cannot be resolved

This rather seems to be some kind of classpath problem, maybe not even
directly related to AspectJ, but impossible to say for sure without the
MCVE.


-- 
Alexander Kriegisch
https://scrum-master.de


Back to the top