Try to reimport that maven project. This should resolve this issue. Cheers, Till
On Mon, Nov 4, 2019 at 10:34 AM 刘建刚 <liujiangangp...@gmail.com> wrote: > Hi, I am using flink 1.9 in idea. But when I run a unit test in idea. > The idea reports the following error:"Error:java: 无效的标记: > --add-exports=java.base/sun.net.util=ALL-UNNAMED". > Everything is ok when I use flink 1.6. I am using jdk 1.8. Is it > related to the java version? >