- 博客(10)
- 收藏
- 关注
原创 IDEA 2020 设置项目集成git 以及svn和git之间的切换--简述
找到git.exe 可以test一下看下版本 svn和git之间的切换 二选一即可 svn git 爱了。。。
2020-09-02 23:24:12
887
1
原创 idea上面提交项目到gitee 最后出现 Push rejected
新建一个项目 gitee 新建一个仓库 注意 先创建本地库 选择本项目作为库 出现如下 右键本项目 出现如下 再次右键本项目 继续 继续就可以 继续回来右键本项目 出现如下 找到gitee上的创建的项目 出现如下 出现 拒绝。。。 找到本项目的根目录 右键选择Git Bash Here 复制如下: git pull origin master --allow-unrelated-histories 回车 出现如下,说明正常跟过来了,若果不是,可以再回去检查下哪步出错了
2020-09-02 23:04:09
551
原创 2020.1 IDEA maven web项目 启动报错 resource找不到 bean未注入 xml文件未映射等 运行不进去 相关问题截图
Cannot resolve reference to bean ‘filterChainDefinitionMap’ while setting be Caused by: org.springframework.beans.factory.BeanCreationException: ERROR org.springframework.web.context.ContextLoader - Context initialization 等有可能的问题及解决办法之一 找到自己的项目按图操作即可 ..
2020-08-20 23:35:02
565
原创 idea 2020 常用配置 之 编码中文乱码相关 页面乱码 控制台乱码 maven web项目乱码问题
常见乱码问题 -encoding utf-8 manvn 项目控制台中文乱码问题 -Dfile.encoding=GB2312
2020-08-18 23:07:30
593
原创 idea web项目下 注解方式实现aop demo 入门案例
application.xml aspect 声明切面和设置切点注解 环绕通知即可 service层 dao层 ConnectionUtil 工具类(加注解) 以上就是注解方式实现aop的入门小案例,可以看出xml文件的作用主要就是提供数据库连接的作用,其他基本上都是通过注解的方式完成的,首先学会xml的方式实现aop,再通过注解的方式实现aop将会更容易理解一点. ...
2020-08-07 00:13:30
216
原创 IDEA web工程下 XML方式实现aop 初代目小样
application.xml <beans xmlns="http://www.springframework.org/schema/beans" xmlns:p="http://www.springframework.org/schema/p" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/
2020-08-07 00:00:54
220
原创 idea web项目 初代目myBatis小样 批量导入+批量删除
mapper层(代替dao层) UserMapper.xml UserController层 批量导入 涉及到的工具类 import com.wn.entity.User; import javax.servlet.http.Part; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import jav
2020-08-05 23:43:43
326
原创 MyBatis 初代目小样 分页查询+条件查询
数据库字段 UserMapper.xml配置文件 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > <mapper namespace="com.wn.mapper.UserMapper"> <!--开启二级缓存--> <cache eviction="LRU" flushInter
2020-08-05 21:21:53
178
原创 idea web Spring 初代目小样 (包含导入约束文件dtd/xsd操作)
✪☟✪ servlet层 (依赖于service层) ✪☟✪ service层 (依赖于dao层) ✪☟✪ dao层 (依赖于JdbcTempImpl) ✪☟✪ application.xml 配置文件详解: <beans xmlns="http://www.springframework.org/schema/beans" xmlns:p="http://www.springframework.org/schema/p" xmlns:xsi="http://www.
2020-08-05 20:00:58
271
原创 统计字符串中字符出现的次数//通俗易懂!!!
话不多说! 先看小题!! 如下字符串: String str = “The String class represents character strings. All string literals in Java programs, are implemented as instances of this class. Strings are constant; their values cannot be changed after they are created. String buffers s
2020-05-29 00:03:43
3521
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅