-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@Loggable not work #237
Comments
@baimingzhang it seems to be correct. Do you have directory |
@yegor256 yes, there is a directory target/unwoven after the build |
I am trying to weave on java8 and spring boot project, and I am getting nullpointer, please help. here is what I have added in my pom.xml
and
This is what I got
|
|
doesn't support java8 and spring aspects...can't woven |
@trusharusa this is strange, since in this project we use Java8 and jcabi-aspects, without any issues: https://github.com/yegor256/jare |
Hi @yegor256 is there one unique place where I could find the way to install all the stuff needed to make "Loggable" annotation works ? My app uses Spring. Here are all the packages I've installed for AOP :
I also added these lines as specified :
But there's an error : Plugin execution not covered by lifecycle configuration: com.jcabi:jcabi-maven-plugin:0.14.1:ajc (execution: default, phase: process-classes) When I run my test classes, nothing with the "Loggable" annotation generates any logs in the console. I have a message telling me : SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder] |
@trusharusa, @yegor256 Hi, regarding the issue not working under java8 and spring environment, do you have any solution yet? cause i face the exactly problem as you posted above. |
Any update on this? I am also seeing this in a non spring environment. |
Hi, ++ |
Facing the same issue |
Hi, same issue here. I tried with the smallest program possible and only the dependencies listed on the jcabi-aspects site. Have any of you found a solution yet ? |
To get this to work I ditched the jcabi-maven-plugin and used the aspectj-maven-plugin instead. This will also resolve eclipse issues since this plugin is covered by the m2e maven eclipse integration framework. The POM file can be setup as follows:
|
After run the code, nothing happened.
My code is:
my log4j.properties is
my pom.xml is :
The text was updated successfully, but these errors were encountered: