'"illegal character" error when using hibernate-jpamodelgen in Spring Boot

  <dependency>
    <groupId>org.hibernate</groupId>
    <artifactId>hibernate-jpamodelgen</artifactId>
    <version>${hibernate.version}</version>
  </dependency>

When I add the above dependency and compile my project, I get an "illegal character" error for Turkish characters. My problem is same as here but I didn't understand how to solve it in Spring Boot. I tried the solutions but they didn't work.

error

I would be glad if you help.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source