翔哥controller测试报错
来源:2-9 验证Sevice
慕虎5186380
2021-01-15
Error creating bean with name ‘org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter’: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/exc/InvalidDefinitionException怎么办
网上说是jdbc配置文件有空格导致的,但检查没有空格,问题出在哪
写回答
2回答
-
翔仔
2021-01-15
同学好,404有很多可能性
spring-web.xml的package配置错误
jar没全
url访问路径不丢
controller路由配置不对,可以逐项排查一下
00 -
慕虎5186380
提问者
2021-01-15
问题已解决但报错404
00
相似问题