会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Hxf_007
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
下一页
2020年8月26日
异常统计
摘要: 1.IllegalStateException 配置文件异常 2.BeanCreationException bean创建异常 找不到对应的类型 Saxpase Exception xml配置解析错误 3.NOsuch Exception 未定义异常 4.UnsatisfiedDependencyE
阅读全文
posted @ 2020-08-26 21:41 Hxf_007
阅读(159)
评论(0)
推荐(0)
2020年8月10日
mybatisMaper.xml
摘要: 1. 接口配置: package com.itheima.dao; import com.itheima.domain.Student;import org.apache.ibatis.annotations.Select; import java.util.List; public interfa
阅读全文
posted @ 2020-08-10 22:30 Hxf_007
阅读(113)
评论(0)
推荐(0)
springMvc配置xml
摘要: <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
阅读全文
posted @ 2020-08-10 22:20 Hxf_007
阅读(110)
评论(0)
推荐(0)
spring配置xml
摘要: <?xml version="1.0" encoding="UTF-8"?><beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.springframework.org/schema/beans"
阅读全文
posted @ 2020-08-10 22:19 Hxf_007
阅读(131)
评论(0)
推荐(0)
pagehelper
摘要: 第一步、导包(或者导入坐标) <dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper</artifactId> <version>5.1.2</version> </dependency> 第二步、配置
阅读全文
posted @ 2020-08-10 22:16 Hxf_007
阅读(187)
评论(0)
推荐(0)
2020年8月9日
MybatisMapper配置
摘要: <dependencies> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>5.1.32</version> </dependency> <dependency
阅读全文
posted @ 2020-08-09 23:04 Hxf_007
阅读(189)
评论(0)
推荐(0)
Spring原始注解
摘要: Spring是轻代码而重配置的框架,配置比较繁重,影响开发效率,所以注解开发是一种趋势,注解代替xml配置文 件可以简化配置,提高开发效率。 Spring原始注解主要是替代的配置 注意: 使用注解进行开发时,需要在applicationContext.xml中配置组件扫描,作用是指定哪个包及其子包下
阅读全文
posted @ 2020-08-09 22:46 Hxf_007
阅读(324)
评论(0)
推荐(0)
springMvc注解
摘要: 一、组件型注解: @Component 在类定义之前添加@Component注解,他会被spring容器识别,并转为bean。 @Repository 对Dao实现类进行注解 (特殊的@Component) @Service 用于对业务逻辑层进行注解, (特殊的@Component) @Contro
阅读全文
posted @ 2020-08-09 22:35 Hxf_007
阅读(152)
评论(0)
推荐(0)
springMVC
摘要: pom.xml文件 <dependencies> <dependency> <groupId>com.pinyougou</groupId> <artifactId>pinyougou_dao</artifactId> <version>1.0-SNAPSHOT</version> </depend
阅读全文
posted @ 2020-08-09 22:31 Hxf_007
阅读(119)
评论(0)
推荐(0)
mybatis配置
摘要: SQLMap.xml <?xml version="1.0" encoding="UTF-8" ?><!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd/mybatis-
阅读全文
posted @ 2020-08-09 22:25 Hxf_007
阅读(190)
评论(0)
推荐(0)
上一页
1
2
3
4
下一页
公告