I can't get spring annotations to work at all, I'm just trying to get the simplest thing to work ...
... / mycontext / something β calls the method:
@RequestMapping(value = "/something") @ResponseBody public String helloWorld() { System.out.println("hello world"); return "Hello World"; }
My main problem is, as far as I try, I canβt find a complete simple example of the necessary configuration files, each spring tutorial is filled with junk, Iβm just one controller to process the request using display and cannot make it work
Does anyone know a simple and complete spring example. The PET clinic is not good, it's too complicated, I have a tiny base use case, and it becomes a real pain to work (this always happens with Spring)
source share