Easter79 Easter79
3年前
spring注解
随着越来越多地使用Springboot敏捷开发,更多地使用注解配置Spring,而不是Spring的applicationContext.xml文件。Configuration注解:Spring解析为配置类,相当于spring配置文件Bean注解:容器注册Bean组件,默认id为方法名@Configurat
Easter79 Easter79
3年前
sqoop job用法
创建JOB sqoopjobDmapreduce.job.queuename'root.bi'creatext\_test\_jobimportconnectjdbc:mysql://xxxx:3306/test?tinyInt1isBitfalseusernamexxxpasswordxxx
Wesley13 Wesley13
3年前
lua作为配置文件的读取方法
structPictureCfg{   stringname;   floatrotation;};1,全局配置\picture0cfg.luaname"dragon.png"rotation180//全局配置的读取voidLoadPictureCfg(vector<PictureCfg&r
Wesley13 Wesley13
3年前
Ubuntu 下搭建 LAMP 环境
1.安装1.1.MySQL  $sudoaptgetinstallmysqlservermysqlclient    过程中输入root密码  $sudonetstattanp|grepmysql1.2.Apache2  $sudoaptget
Stella981 Stella981
3年前
LVS+KeepAlived+Nginx高可用实现方案
文章目录概念LVSKeepAlived为什么要使用准备软件安装KeepAlived安装源码安装yum安装服务启动、重启、关闭安装ipvsadmnginx安装防火墙(iptables)防火墙配置(方式一)防火墙配置(方式二)配置nginx服务器(这里很重要!很
Easter79 Easter79
3年前
Spring学习笔记(五):JDBCTemplate+事务管理
1概述Spring为开发者提供了JDBCTemplate,可以简化很多数据库操作相关的代码,本文主要介绍JDBCTemplate的使用以及事务管理功能。2JDBCTemplate2.1配置配置的话主要配置以下几项:数据源:org.springfr
Easter79 Easter79
3年前
SpringMVC用responsebody标签返回json的时候Error406
springmvc的好处就是可以用一个responsebody的标签直接将一个返回的对象转换成json首先,需要配置spring,将以下的bean配置到spring的配置文件中<bean class"org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandle
Wesley13 Wesley13
3年前
ubuntu安装msql5.7
1.执行以下命令安装,一路按Y即可sudoaptgetinstallmysqlserver sudoaptinstallmysqlclient sudoaptinstalllibmysqlclientdev2.检查mysql的
Stella981 Stella981
3年前
IDEA中Spring boot配置热部署无效问题解决方式(转)
IDEA中Springboot配置热部署无效问题解决方式2018年01月31日20:30:59阅读数:1426该配置方式属于通过配置devtools实现热部署只要在pom文件中添加下面代码段即可<!热部署<dependency<groupIdo
死牛胖子 死牛胖子
1年前
Maven配置JDK版本
配置指定的JDK版本xmlorg.apache.maven.pluginsmavencompilerplugin3.01.81.8