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

Mikael,

I hope you understand that I want to stop speculating until I have an MCVE reproducing the problem.

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


Mikael Petterson schrieb am 20.03.2020 14:04 (GMT +07:00):
> 
> Hi,
> 
> 
> I replaced mojohaus version with
> 
> 
> <groupId>com.nickwongdev</groupId>
> 
> <artifactId>aspectj-maven-plugin</artifactId>
> 
> <version>${aspectj.maven.plugin.version}</version>
> 
> 
> and these versions:
> 
> 
> <aspectj.maven.plugin.version>1.12.6</aspectj.maven.plugin.version>
> <aspectj.version>1.9.5</aspectj.version>
> 
> 
> Still the same problem.
> 
> 
> Two questions comes to my mind:
> 
> 
> 	I my multi-module project is it possible to exclude the failing module?
> 	Today I have added settings for aspectj in parent pom.xml
> 	If it is a classpath problem how could it have been working before I
> 	introduced aspectj? Would it not be possible to add generated classes to
> 	classpath for aspectj?
> 
> 
> br,
> 
> 
> //mike
> 
> 
> ----------------------------------------
> 
> Från: aspectj-users-bounces@xxxxxxxxxxx
> <aspectj-users-bounces@xxxxxxxxxxx> för Alexander Kriegisch
> <alexander@xxxxxxxxxxxxxx>
> Skickat: den 19 mars 2020 07:37
> Till: aspectj-users@xxxxxxxxxxx <aspectj-users@xxxxxxxxxxx>
> Ämne: 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
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/aspectj-users
> 
> 



Back to the top