11 2018 档案

摘要:1、安装jdk8及其以上 2、安装eclipse 或者idea 3、安装android sdk和adt(http://www.android-studio.org/) 阅读全文
posted @ 2018-11-23 17:57 依旧爱你 阅读(122) 评论(0) 推荐(0) 编辑
摘要:四层架构: 1、Java 应用程序 2、Java 框架 3、本地框架与Java 运行环境 4、liunx操作系统及驱动 阅读全文
posted @ 2018-11-23 17:06 依旧爱你 阅读(96) 评论(0) 推荐(0) 编辑
摘要:File.separator (windows 表示 \ mac 表示 / ) @Value("${file.url}")private String fileUrl; //file.url=/Users/dongzejun/Desktop/ (application.properties的配置文件 阅读全文
posted @ 2018-11-23 09:45 依旧爱你 阅读(167) 评论(0) 推荐(0) 编辑
摘要:public class FileUtil { @Value("${img.url}") public String imgUrl; @Value("${video.url}") public String videoUrl; /** * 保存图片 * @param files 图片流 * @ret 阅读全文
posted @ 2018-11-16 15:06 依旧爱你 阅读(3941) 评论(0) 推荐(0) 编辑
摘要:1、安装 brew install nginx 2、vi /usr/local/etc/nginx/nginx.conf 3、修改可用端口及路径 4、启动nginxbrew services start nginx 5、通过ip+端口+路径访问 阅读全文
posted @ 2018-11-16 14:52 依旧爱你 阅读(1458) 评论(0) 推荐(0) 编辑
摘要:1、注释配置: 2、注释启动类: 3、在tomcat中的cnf下的context.xml中配置: <Loader delegate="true"></Loader> 阅读全文
posted @ 2018-11-09 11:12 依旧爱你 阅读(314) 评论(0) 推荐(0) 编辑
摘要:activemq需要添加jms配置 jms:pub-sub-domain:true(为true时是topic模式,为false是queue模式) 阅读全文
posted @ 2018-11-09 10:50 依旧爱你 阅读(156) 评论(0) 推荐(0) 编辑
摘要:select DISTINCT DATA_TYPE,TABLE_NAME,COLUMN_NAME,IS_NULLABLE,COLUMN_COMMENT from INFORMATION_SCHEMA.Columns where table_name=? 阅读全文
posted @ 2018-11-09 10:46 依旧爱你 阅读(355) 评论(0) 推荐(0) 编辑
摘要:pom.xml引入包及插件: XML配置: 最后运用maven projects里的插件生成Java文件 阅读全文
posted @ 2018-11-09 10:31 依旧爱你 阅读(840) 评论(0) 推荐(0) 编辑
摘要:问题描述:启动springboot多模块项目后在同一浏览器访问前后台项目,导致session过期。 解决办法:在某一模块中的配置文件中加入cookie配置 阅读全文
posted @ 2018-11-09 10:16 依旧爱你 阅读(1021) 评论(0) 推荐(0) 编辑
摘要:<?xml version="1.0" encoding="UTF-8"?><configuration> <!--配置consoleLog--> <appender name="consoleLog" class="ch.qos.logback.core.ConsoleAppender"> <la 阅读全文
posted @ 2018-11-09 10:03 依旧爱你 阅读(319) 评论(0) 推荐(0) 编辑
摘要:原因:mysql的数据类型设置成了bigint 解决办法:修改数据类型 阅读全文
posted @ 2018-11-09 09:40 依旧爱你 阅读(560) 评论(0) 推荐(0) 编辑
摘要:1、删除mysql服务sc delete mysqlName当前mysql服务的名称) 2、配置好my.ini放于mysql根目录下 3、cd mysql\bin目录下(初始化) mysqld --initialize 4、安装mysql服务 mysqld --install MySQL --def 阅读全文
posted @ 2018-11-09 09:33 依旧爱你 阅读(2124) 评论(0) 推荐(0) 编辑