刚学springmvc小白一个,记录一下自己发现的错误,
自己学的案例发现运行的时候老是报Could not instantiate bean class [org.springframework.web.HttpRequestHandler]: Specified class is an interface,网上找了很多都没有解决
最后我发现了,把tomcat8换成Tom act7就可以解决这个类的实例化问题。我也不知道为什么,就自己试了下。可能每个版本兼容性有问题吧
springmvc报错Could not instantiate bean class
最新推荐文章于 2022-01-08 11:15:01 发布