- 博客(6)
- 收藏
- 关注
原创 spring中扫描器,通配符的匹配很全面, 但无法找到元素 'context:component-scan' 的声明。
Exception in thread “main” org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 160 in XML document from class path resource [applicationContext.xml] is invalid; nested exceptio...
2019-12-29 12:29:48 312
原创 mybatis中Caused by: java.io.IOException: Could not find resource studentMapper.xml
Exception in thread “main” org.apache.ibatis.exceptions.PersistenceException:###Error building SqlSession.###The error may exist in studentMapper.xml###Cause: org.apache.ibatis.builder.BuilderExcep...
2019-12-23 17:57:21 1155
原创 UTF-8编码与序列化
228 = 128 + 64 + 32 + 4 184 = 123 + 32 + 16 + 8173 = 128 + 32 + 8 + 4 + 1 11100100 10111000 101011010100 111000 10110101001110 001011014e2d = 20013 = '中'
2019-09-23 22:21:44 443
原创 打印9*9乘法表
public class 乘法表{ public static void main(String[] args) { for (int i = 1; i <= 9; i++) { for (int j = 1; j <= i ; j++) { int temp = ...
2019-08-19 11:28:25 89
原创 构造方法
package OOPDemo2;public class Student{ //属性:姓名 成绩 String name; int score; //构造方法 //(1)该方法没有返回值,(2)该方法名字必须和类名一样 //方法:显示个人成绩的信息 //每个类都有默认无参构造方法 //但是一旦手工添加了带参构造方法,那么系统默...
2019-08-18 15:32:36 125
原创 图书管理系统
package 图书管理系统;import java.lang.reflect.Array;import java.util.Scanner;public class BookMgr { public static void main(String[] args) { Scanner in = new Scanner(System.in); //数据初始化,最多6本书...
2019-08-17 22:38:16 315
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人