How to set UTF-8 character encoding in Spring boot?

前端 未结 4 1287
被撕碎了的回忆
被撕碎了的回忆 2020-12-16 15:36

I use spring-boot in my project, and I run this jar file which is built by spring-boot as a service on Centos. When I run this service:

service myApp

4条回答
  •  青春惊慌失措
    2020-12-16 16:18

    Finally I found a way so that I can launch Spring-boot project properly.

    The solution is use sudo /etc/init.d/myApp start instead of service myApp start

提交回复
热议问题