- 博客(7)
- 收藏
- 关注
原创 2021-08-24
MyBatis出现Exception iin thread “main” java.io.IOException:Could not find resource mybatis-config.xml 看看你的resource是不是与src在同一级别目录,不是的话就将两个放到同一目录下。同实际记得修改 修改后如下 这样就能解决了 ...
2021-08-24 10:54:28
46
原创 2021-08-24
今天刚接触到mybatis就遇到一个问题搞半天问题如下: idea运行mybatis出现Exception in thread “main” org.apache.ibatis.exceptions.PersistenceException 找了很多办法。尝试了很多办法修改setting里面的java Complier与你的JDK一致 以及修改mould里面的project设置 修改之后还是没有解决,最后检查代码,发现mybatis里的两个属性值不一样导致的,将其修改一致后完美解决问题。 ...
2021-08-24 10:43:35
57
原创 2021-05-05
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 ‘? and loginPwd = ?’ at line 1 出现这个错误可能原因是:**rs=ps.executeQuery(sql);**这里不要将sql写进去 应该是rs = ps.executeQuery(); ...
2021-05-05 15:13:41
63
1
原创 java实现十进制数转换成二进制数
十进制数转换成二进制 import java.util.Scanner; public class Textwile { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); System.out.println(“请输入一个十进制的整数:”); int num = scanner.nextInt(); String nums = Integer.toBinaryString(num); //In
2021-03-24 17:20:14
2135
1
原创 JAVA中JSON问题
JAVA使用JSON出现:Exception in thread “main“ com.alibaba.fastjson.JSONException: not close json text, token : , 解决办法:检查JSON数据语句是否正确
2021-03-22 21:58:07
510
原创 2020-05-22
今天做了mini6410的LED实验,在make modules时出现以下错误: root@ubuntu:/linux-2.6.38# make moudles make: *** No rule to make target moudles'. Stop.root@ubuntu:/linux-2.6.38# make modules CHK include/linux/version.h CHK include/generated/utsrelease.hmake[1]:include/generated
2020-05-23 08:32:37
111
原创 2020-05-20
make: arm-linux-gcc: Command not found CHK include/linux/version.h CHK include/generated/utsrelease.hmake[1]: `include/generated/mach-types.h’ is up to date. CC kernel/bounds.s/bin/sh: arm-linux-gcc: not foundmake[1]: *** [kernel/bounds.s] E
2020-05-20 22:53:41
325
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人