java.lang.IllegalStateException: The Java Virtual Machine has not been configured to use the desired default character encoding (UTF-8).

Stack Overflow | Laurence | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

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

    Stack Overflow | 6 months ago | Laurence
    java.lang.IllegalStateException: The Java Virtual Machine has not been configured to use the desired default character encoding (UTF-8).

    Root Cause Analysis

    1. java.lang.IllegalStateException

      The Java Virtual Machine has not been configured to use the desired default character encoding (UTF-8).

      at org.springframework.boot.context.FileEncodingApplicationListener.onApplicationEvent()
    2. Spring Boot
      FileEncodingApplicationListener.onApplicationEvent
      1. org.springframework.boot.context.FileEncodingApplicationListener.onApplicationEvent(FileEncodingApplicationListener.java:74)[spring-boot-1.3.7.RELEASE.jar!/:1.3.7.RELEASE]
      1 frame