错误原因:配置文件中base-package写错了,无法创建bean
解决方法:在springmvc.xml配置文件中 将<context:component-scan base-package=“xxx.*”/>写成自己的包

Logo

一站式 AI 云服务平台

更多推荐