The project spring-mvc checked out from SVN could not scan the annotations in my controller, causing the page request to not find the mapping
The code was normal after checking for an afternoon, but I accidentally discovered it while doing this
When you save after modifying the JDK, it will prompt you whether to recompile? probably. After compilation, my spring-mvc can find the corresponding contorler when accessing the request. So the question is, why does it not have this effect when I use clean? It is a bit troublesome to modify the JDK to change it in the past and change it back. Is there any direct way? method.
Thank you everyone. Sorry for the trouble! ! !
clean is to clean the generated class files. If you don’t compile the target and there is no corresponding jar file, how can you do it? The running access will naturally be 404.