![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java错误
weixin_45752427
这个作者很懒,什么都没留下…
展开
-
java.lang.NoSuchMethodError: org.springframework.util.Assert.notNull(Ljava/lang/Object;Ljava/util/fu
这个报错的主要原因可能是S<dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> <version>5.0.9.RELEASE</version></dependency>spring test 一依赖和项目中其他spring依赖版本不兼容的问题把版..原创 2021-12-28 20:43:36 · 491 阅读 · 0 评论 -
MyBatis中的传入参数的运算问题
今天在写一个查询模块功能时候遇到了这个问题<select id="getUserList" resultType="User"> select id,loginName,password,userName,sex,identityCode,email,mobile,type from easybuy_user limit #{(currentPageNo - 1) * pageSize},#{pageSize}</select>这样写会导致报错,在网上查了一下原创 2021-12-01 19:39:50 · 1008 阅读 · 0 评论 -
关于No suitable driver found for mysql:jdbc://localhost:3306报错
问题出在敲错了也就是在第35行:正确的语法是 String url = "jdbc:mysql://localhost:3306/cs2104";单纯记录一下,真是太憨憨了原创 2021-10-20 20:08:26 · 139 阅读 · 0 评论 -
关于he type of the expression must be an array type but it resolved to int 报错
he type of the expression must be an array type but it resolved to int关于以下报错,极有可能是数组的一维与二维定义与使用的冲突,例如定义和声明了一个一维数组,但是却在输出时不小心以二维输入,等等。...原创 2021-05-13 09:00:33 · 539 阅读 · 0 评论