-
第一个问题:maven环境搭建出现的问题,存在javaee和web版本不匹配问题解决方案:
https://blog.csdn.net/steveguoshao/article/details/38414145?locationNum=2 -
第二个问题:项目运行中出现这个问题: Invalid bound statement (not found): com.test.mapper.UserMapper.selectByPrimaryKey 原因是:https://blog.csdn.net/DynastyTing/article/details/83279758?utm_medium=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-2.nonecase&depth_1-utm_source=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-2.nonecase
-
第三个问题:项目搭建完后运行中出现的问题mybatis与mybatis-spring和spring不兼容问题:org.mybatis.spring.transaction.SpringManagedTransaction.getTimeout()Ljava/lang/Integer,解决方案是查找相匹配的版本
-
第四个问题:数据库中的表名交的不规范,出现傻屌错误:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘use where iduse = 1001’ at line 5
原因是将表明定为use,这将会使数据库报错。https://jingyan.baidu.com/article/8275fc86b7576446a03cf624.html
在maven环境下开发第一个SSM项目出现的问题及解决方案
最新推荐文章于 2022-04-10 08:26:27 发布