0

I have several classes from xsd schemas with Russian fields, methods. When building Gradle, I get this error error: cannot find symbol protected FNSVipULResponse.СвЮЛ.СвСтатус.СвСтатус свСтатус; How can this be solved?

compileJava.options.encoding = 'UTF-8' tasks.withType(JavaCompile) {     options.encoding = 'UTF-8' }

and

org.gradle.jvmargs='-Dfile.encoding=UTF-8'

It doesn't help

Marmarks
  • 1
  • 1
  • What is your building environment (OS, locale/language/culture)? Sometimes javac takes source code in local encoding but not in UTF-8, and option for providing source code encoding for javac is '-encoding *'. I am not sure how you can provide javac options to Gradle script, though. – MNEMO Jan 16 '23 at 07:49
  • @MNEMO Windows, Ru, Russian, Ru. Therefore, this encoding is familiar to the OS – Marmarks Jan 16 '23 at 07:55
  • Check your source code file encoding first, and set that to 'javac -encoding ' – MNEMO Jan 16 '23 at 07:58
  • @MNEMO It didn't help me – Marmarks Jan 16 '23 at 08:13

0 Answers0