Missing URI template variable 'id' for method parameter of type long

Dictionary delete test appears: Missing URI template variable 'id' for method parameter of type long

Baidu translation: long type of method arguments lack uri template variables "id"

Baidu Solution: Look at where the tweet said SpringMVC parameter annotation @PathVariable problem

Try to solve first: remove @PathVariable, restart the project in the parameter

success..

 

Guess you like

Origin www.cnblogs.com/LearnSB/p/11101066.html