我的错误
成为想成为的人
这个作者很懒,什么都没留下…
展开
-
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.test.demo.dao.T
解决方法1.看xml文件中的namespace是否和mapper文件名相同(包名和文件名)2.若是mapper接口和xml文件存放的位置不在一个包下则需要配置配置xml文件:在启动类添加注解扫描mapper接口:3.检查resources插件是否加入了xml后缀的文件...原创 2020-04-20 16:46:44 · 189 阅读 · 0 评论 -
Error resolving template [addUser], template might not exist解决方法
首先确定自己的pom.xml文件中是否添加resources插件,若是没有解决办法:1.检查controller中的注解:@RestController是@ResponseBody和@Controller的组合这个注解2.检查return中的字符串是都有错误3.检查页面是否存在若是有resources插件解决办法:检查自己的resource标签中是否加入了以html为后缀的资源文件...原创 2020-04-20 16:32:35 · 1372 阅读 · 0 评论 -
严重: 配置应用程序监听器[org.springframework.web.util.IntrospectorCleanupListener]错误
解决方法就是这样,那样,然后没了选中项目鼠标点击右键选择Properties或者快捷键alt+enter选中Add后`点击next``最后一步一定要点,不然就没用原创 2020-03-24 10:57:59 · 8455 阅读 · 2 评论