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

Stack Overflow | Laurence | 5 months ago
  1. 0

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

    Stack Overflow | 5 months ago | Laurence
    java.lang.IllegalStateException: The Java Virtual Machine has not been configured to use the desired default character encoding (UTF-8).
  2. 0
    Upgrade sbt-dependency-graph to 0.8.2 or later.
  3. 0
    The application is unable to connect to the database. It could be resolved by configuring access privileges on the database side.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    Execute mvn dependency:tree from your project's root directory.
  6. 0
    In all ActiveAndroid tables there should be a primary key field with the name "Id" (with a capital "I").

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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