spring-mvc - How to recompile the eclipse java maven web project, not the clean one. Please come and see the picture for details. Thank you all.
伊谢尔伦
伊谢尔伦 2017-05-17 10:01:46
0
1
914

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! ! !

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(1)
我想大声告诉你

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.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template