自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 收藏
  • 关注

原创 IDEA 2020 设置项目集成git 以及svn和git之间的切换--简述

找到git.exe可以test一下看下版本svn和git之间的切换二选一即可svngit爱了。。。

2020-09-02 23:24:12 799 1

原创 idea上面提交项目到gitee 最后出现 Push rejected

新建一个项目gitee 新建一个仓库注意先创建本地库选择本项目作为库出现如下右键本项目出现如下再次右键本项目继续继续就可以继续回来右键本项目出现如下找到gitee上的创建的项目出现如下出现 拒绝。。。找到本项目的根目录右键选择Git Bash Here复制如下:git pull origin master --allow-unrelated-histories回车出现如下,说明正常跟过来了,若果不是,可以再回去检查下哪步出错了

2020-09-02 23:04:09 457

原创 2020.1 IDEA maven web项目 启动报错 resource找不到 bean未注入 xml文件未映射等 运行不进去 相关问题截图

Cannot resolve reference to bean ‘filterChainDefinitionMap’ while setting beCaused by: org.springframework.beans.factory.BeanCreationException:ERROR org.springframework.web.context.ContextLoader - Context initialization等有可能的问题及解决办法之一找到自己的项目按图操作即可..

2020-08-20 23:35:02 482

原创 idea 2020 常用配置 之 编码中文乱码相关 页面乱码 控制台乱码 maven web项目乱码问题

常见乱码问题-encoding utf-8manvn 项目控制台中文乱码问题-Dfile.encoding=GB2312

2020-08-18 23:07:30 499

原创 idea web项目下 注解方式实现aop demo 入门案例

application.xmlaspect 声明切面和设置切点注解环绕通知即可service层dao层ConnectionUtil 工具类(加注解)以上就是注解方式实现aop的入门小案例,可以看出xml文件的作用主要就是提供数据库连接的作用,其他基本上都是通过注解的方式完成的,首先学会xml的方式实现aop,再通过注解的方式实现aop将会更容易理解一点....

2020-08-07 00:13:30 147

原创 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 159

原创 idea web项目 初代目myBatis小样 批量导入+批量删除

mapper层(代替dao层)UserMapper.xmlUserController层批量导入涉及到的工具类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 267

原创 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 132

原创 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 214

原创 统计字符串中字符出现的次数//通俗易懂!!!

话不多说!先看小题!!如下字符串: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 3355

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除