- 博客(5)
- 收藏
- 关注
原创 springboot(二)web页面、dao层代码准备
1、准备html模板404页面、dashboard主页、index登录页面、list表单页面asserts文件夹里面是css、js、img这些静态资源2、静态资源放进项目404页面、dashboard主页、index登录页面、list表单页面放到resources/templates文件夹下,asserts文件夹放到resources/static文件夹下。3、pojo创建在com.cjc.myspringboot包下创建pojo包,再创建Department.java、Employee.j
2021-10-07 14:48:53
622
原创 报错 SAXParseException
报错信息:Error creating bean with name 'sqlSessionFactory' defined in file [F:\Idea2\ssm3\wotao3-manager\wotao3-manager-service\target\classes\spring\applicationContext-dao.xml]: Invocation of init method failed; nested exception is org.apache.ibatis.builder.
2021-08-01 21:46:20
2732
原创 关于mybatis查询数据库时返回数据list出现All elements are null,但list.size>0的问题
关于mybatis查询数据库时返回数据list出现All elements are null,但list.size>0的问题一、描述: 项目:ssm项目, 查询:左联查询 问题: controller层@Controller@RequestMapping("customer")public class CustomerController { @Autowired private BaseDictService baseDictService; @Au
2021-06-20 22:06:12
4507
6
原创 IDEA 2020.3.3版本创建maven web项目
#1、创建maven web项目fiel->new->project注意java版本选择(我选的是1.8版本)点击next注意选择maven的安装路径,注意选择maven的setting文件路径;点击finish,稍等即可创建好maven web项目,可以看到左边项目结构,发现还差一些目录才能形成完整的ssm项目结构;我们手动自己添加如下目录结构:...
2021-06-05 15:16:06
1250
原创 class path resource [db.properties] cannot be opened because it does not exist
问题描述:ssm整合,测试代码运行报错:class path resource [db.properties] cannot be opened because it does not exist# 原因分析:<font color=#999AAA >提示:这里填写问题的分析:分析:测试代码编译时,db.properties这些资源文件夹下的文件不会编译到相应的test-classes文件夹下,导致测试代码运行时找不到相应的资源文件。![在这里插入图片描述](https:/
2021-05-05 21:13:46
1918
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人