![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
辅助配置
洛幻宸
慢慢学好技术!!
展开
-
用bat脚本运行程序,并影藏cmd窗口
代码如下: @echo oFF ::code by LZ-MyST QQ:8450919 BLOG:http://hi.baidu.com/lzmyst http://www.clxp.net.cn if "%1" neq "1" ( >"%temp%\tmp.vbs" echo set WshShell = WScript.CreateObject^(^"WScript.Shell...转载 2020-02-17 09:24:48 · 2104 阅读 · 0 评论 -
Idea 项目打包成Jar文件找不到 properties 文件 目录错误
Idea在开发时,用的读取配置文件方式,打包之后会出现找不到的情况 解决方法 第一步:讲properties 文件放在资源文件的跟目录下面 第二部:讲文件读取换成以流的方式读取 代码如下: public Properties seatPropertiesUtil(String name){ URL url = this.getClass().getClassLoader...原创 2019-12-05 19:13:58 · 2584 阅读 · 0 评论 -
swagger2 配置
1、配置Maven依赖 <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.9.2</version> </dependency> <...原创 2019-10-17 19:03:30 · 536 阅读 · 0 评论