I have created a spring boot library in which I am using Spring AOP using xml
file. aop.xml file is present under resources folder. Now I am using this library in another spring boot application. But when I build the application, I am getting FileNotFoundException: Could not open ServletContext resource (aop.xml)
in default test case. The library's AOP functionality works fine and build excluding test cases also works fine. But in any application, when i use this library, i am getting this exception in default test case. What can be the reasons?
Note: Can't share code snippets.
Aucun commentaire:
Enregistrer un commentaire