I am working on customising
CAR WAR Overlay with version 6.1.x and add some new functionalities in the form of REST APIs. Now CAS says that in order to add a custom java class we need to do the following:
"In order to include custom Java source, it should be included under a src/main/java directory in the overlay project source tree."
So i included my java class which is a REST Controller at this location: src/main/java/com/example/rest/RestController.class
However, when I run my overlay project in intellij using the command ./gradlew run and try the APIs in Postman then i get 404. Am i missing something here?
I want to do the customisation in overlay so i dont face problem whenever i upgrade cas version. This is the link where CAS explains about the ability to customise is below: