Hi Felipe, Flink's checkstyle prohibits the direct usage of Guava. Please import the shaded Guava version `import org.apache.flink.shaded.guava18.com.google.common.base.Strings;`.
Cheers, Till On Wed, Sep 25, 2019 at 9:31 AM Felipe Gutierrez < felipe.o.gutier...@gmail.com> wrote: > Hi, > > is there another way to use the checkstyle.xml with IntelliJ IDEA that is > different from the official documentation [1]? > > I imported flink source code and I developed my own function on the code. > After that, I run the check style feature on Intellij IDEA 2019 and it > points a lot of errors regarding the checkstyle on the original code. > > In my code, for instance, I even cannot use "import > com.google.common.base.Strings;" and I don't have a clue how to import it > correctly. > > [1] > > https://ci.apache.org/projects/flink/flink-docs-stable/flinkDev/ide_setup.html#checkstyle-for-java > > Thanks, > Felipe > > *--* > *-- Felipe Gutierrez* > > *-- skype: felipe.o.gutierrez* > *--* *https://felipeogutierrez.blogspot.com > <https://felipeogutierrez.blogspot.com>* >