Skip to content

moxaj/aspect-mcve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To run, either launch the AspectMcveApplication or invoke gradlew :bootRun.

Check stdout, you should see You should never see this message! printed, which indicates the problem.

If you want to repeat the triggering the aspect, simply use curl http://localhost:8080/foo.

The problem only occurs when using Spring AOP. The program automatically detects if AspectJ via LTW (load-time weaving) is used instead.

You can use AspectJ LTW by adding -javaagent:/path/to/aspectjweaver.jar -javaagent:/path/to/spring-instrument.jar to the command line. Then the message You should never see this message! disappears.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages