04 2019 档案

摘要:springboot项目jar包启动,application.properties、jar包、shell脚本、static目录(静态页面和jar包分离)在同一目录下 【start.sh】 【stop.sh】 如果启动时报错【-bash: ./start.sh: /bin/sh^M: 坏的解释器: 没 阅读全文
posted @ 2019-04-29 16:01 java菜鸟成长之路 阅读(2587) 评论(0) 推荐(0)
摘要://application.properties中设置:(file.path=static/qrfile/)//保存到static文件夹下的qrfile目录@Value("${file.path}")private String path; //文件路径String path = System.ge 阅读全文
posted @ 2019-04-29 14:31 java菜鸟成长之路 阅读(10832) 评论(0) 推荐(0)
摘要:@MappedSuperclasspublic class BaseEntity { @Id @GenericGenerator(name="idGenerator", strategy="uuid") @GeneratedValue(generator="idGenerator")// @Colu 阅读全文
posted @ 2019-04-26 11:53 java菜鸟成长之路 阅读(4732) 评论(0) 推荐(0)
摘要:1、打开cmd窗口,输入命令【mysqld --skip-grant-tables】回车。 2、再打开一个cmd窗口,输入命令【mysql】回车。 3、输入命令【use mysql; 】 连接权限数据库 4、修改密码为123456【update user set password=password( 阅读全文
posted @ 2019-04-25 15:08 java菜鸟成长之路 阅读(1997) 评论(0) 推荐(0)
摘要:#MySQLspring.datasource.driver-class-name=com.mysql.jdbc.Driverspring.datasource.url=jdbc:mysql://localhost:3306/legal_system?characterEncoding=utf8sp 阅读全文
posted @ 2019-04-25 14:53 java菜鸟成长之路 阅读(1385) 评论(0) 推荐(0)