Skip to main content
1 vote
1 answer
96 views

I’m currently using AspectJ alongside Spring AOP in my Maven project. I want to enable compile-time weaving for aspects that are provided by a dependency (my-aspect-library) while retaining Spring’s ...
Shadow Hatake's user avatar
0 votes
1 answer
68 views

I have written a simple module in IntelliJ (Java 11 + Maven 3.6) to test AspectJ functionality. However, the Aspects are not working as expected. Can someone tell what I am doing wrong? Here is my ...
user30170689's user avatar
0 votes
2 answers
294 views

I aimed to implement compile-time weaving in my codebase and discovered the AspectJ Maven plugin (https://dev-aspectj.github.io/aspectj-maven-plugin/). aspectj.version = 1.9.21 maven-compiler.version =...
Surabhya Aryal's user avatar
0 votes
1 answer
177 views

I use maven-aspectj-plugin in a multi modules project using maven as a dependency tool. A simple demo project, you could find here demo-project. At my real project, for the compatibiliy with lombok, I ...
Chuang Hou's user avatar
1 vote
1 answer
65 views

I have a problem with the <aop:aspectj-autoproxy/> configuration tag. I have added aspectjrt.jar and aspectjweaver.jar, but my setup still is not working. <dependency> <groupId>org....
KunaRakeshKumar's user avatar
0 votes
1 answer
681 views

I have a library with aspect which scan all statement executions and doing some logic with sql sentence. @Pointcut("target(java.sql.Statement)") public void statement() {} @AfterReturning(&...
Maxim Rybalchenko's user avatar
0 votes
1 answer
253 views

I have a library with aspect which scan all statement executions and doing some logic with sql sentence. @Pointcut("target(java.sql.Statement)") public void statement() {} @AfterReturning(&...
Maxim Rybalchenko's user avatar
0 votes
1 answer
3k views

I am trying to upgrade a project from java 8 to 11. I have updated the pom but i get an error about aspectJ not being able to compile it when running the build. Here is the error i get below. [ERROR] ...
dynamo's user avatar
  • 319
0 votes
1 answer
175 views

I have a logging aspect like this, it will print args, result or any other exceptions. I use aspectj-maven-plugin to compile this aspect. Then, the compiled result will be packaged to a jar. I will ...
Chuang Hou's user avatar
1 vote
1 answer
458 views

We need to use AspectJ compile time weaving and that is creating the AjcClosure classes. Somehow the package weaving is not working for us. We need to exclude these AjcClosure classes from the ...
tarini sunil's user avatar
0 votes
0 answers
27 views

I have a class annotated with a custom annotation. I want to run an aspect that should trigger before all the method calls and constructor call whenever an object or static method of that class is ...
gamelover's user avatar
1 vote
1 answer
251 views

I'm using Java 8, testng, maven and selenium for UI automation frame work and trying to use aspectj to execute aspects before and after for switching iframes(entry and exit) when any method in an ...
gamelover's user avatar
0 votes
3 answers
3k views

I'm trying to do a SQL query profiling using AOP Below is my snippet from @Aspect defenition @Pointcut("(call(* org.springframework.jdbc.core.JdbcTemplate.query*(..)) || call(* org....
Akshay Som's user avatar
0 votes
1 answer
128 views

I beg for your help. For my project, https://github.com/hdsdi3g/prodlib, module jobkit, I can't pass 4 tests who pretend to validate calls via @Aspect. Ok with Eclipse (the last version). Ko with ...
hdsdi3g's user avatar
  • 25
0 votes
0 answers
560 views

I meet some problems about the way of using aspectj-maven-plugin and aspectj. First: I create ProjectA. It will be a 'compiled aspect' jar to intercept some functions of Logback and it is a public ...
Kim 's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
15