IDEA tomcat8 控制台日志乱码
摘要:瞎扯一句:由于tomcat7之前编码默认都是GBK,tomcat8之后都是UTF-8 1.在idea64.exe.vmoptions(我装的是64位的)最后加入 -Dfile.encoding=UTF8-Dsun.jnu.encoding=UTF8 重启IDEA就可以了
阅读全文
posted @
2019-01-16 11:21
ctsx
阅读(1622)
推荐(0)
springboot学习五:IDEA外部tomcat发布
摘要:pom.xml配置 屏蔽自带tomcat 打包形式改成war包 IDEA操作 tomcat推荐使用8.5 war exploded和war区别: war模式:将web工程以war包的形式上传到服务器 war exploed模式:将web工程以当前文件夹的位置关系上传到服务器 参考:https://b
阅读全文
posted @
2019-01-16 11:16
ctsx
阅读(313)
推荐(0)
springboot学习四:整合mybatis
摘要:在application.properties加入配置 在启动类加入mapper的扫描
阅读全文
posted @
2019-01-16 11:01
ctsx
阅读(150)
推荐(0)
springboot学习三:整合jsp
摘要:在pom.xml加入jstl 工程目录加入webapp 在application.properties配置
阅读全文
posted @
2019-01-16 10:57
ctsx
阅读(179)
推荐(0)
springboot学习二:配置文件配置
摘要:springboot默认读取application*.properties springboot配置文件读取参考文档: https://blog.csdn.net/thc1987/article/details/78789426 自定义读取配置文件也可用:java.util.Properties
阅读全文
posted @
2019-01-16 10:48
ctsx
阅读(272)
推荐(0)
springboot学习一:快速搭建springboot项目
摘要:1.idea创建springboot工程 JDK选择1.8以上的版本 选择springboot的版本和添加配置项 新建一个HelloController,测试 访问 http://localhost:8080/hello
阅读全文
posted @
2019-01-16 10:22
ctsx
阅读(146)
推荐(0)
mysql下载和安装
摘要:官网下载地址:https://dev.mysql.com/downloads/mysql/ 安装: 1.将下载文件解压到指定文件目录 2.再mysql目录下新建my.ini文件 3.配置环境变量 在path添加mysql的bin目录 4.打开命令CMD窗口, 进入mysql子目录bin 执行mysq
阅读全文
posted @
2019-01-10 09:33
ctsx
阅读(294)
推荐(0)