1
cencoroll 31 天前
<arguments>-jar system.jar" -Dfile.encoding=UTF-8 --spring.profiles.active=prod</arguments>
|
2
Tumblr 31 天前
你起码给个截图,看看“乱码”是字体问题还是编码问题吧。。。
别太相信环境变量,配置中最好是用绝对路径。 另外,为什么要用 winsw 呢?不能直接安装为服务么? |
4
caiqichang 31 天前
#2 spring 官方推荐的安装成服务就是用 winsw
https://docs.spring.io/spring-boot/docs/current/reference/html/deployment.html#deployment.installing.windows-services #3 这里放图片要用链接 https://v2ex.com/faq |