n project. This should resolve this issue.
Cheers,
Till
On Mon, Nov 4, 2019 at 10:34 AM 刘建刚 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?
OS, then should download the package "2019.2.4
> for
> >> macOS with bundled JBR 8 (dmg)"
> >>
> >> Hope it works for you
> >> Thanks.
> >>
> >> [1]. https://www.jetbrains.com/idea/download/other.html
> >>
> >>
&g
cOS with bundled JBR 8 (dmg)"
>>
>> Hope it works for you
>> Thanks.
>>
>> [1]. https://www.jetbrains.com/idea/download/other.html
>>
>>
>> On Mon, Nov 4, 2019 at 5:44 PM Till Rohrmann wrote:
>>
>>> Try to reimport that mave
roject. This should resolve this issue.
> >
> > Cheers,
> > Till
> >
> > On Mon, Nov 4, 2019 at 10:34 AM 刘建刚 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?
> > >
> >
>
10:34 AM 刘建刚 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?
> >
>
Try to reimport that maven project. This should resolve this issue.
Cheers,
Till
On Mon, Nov 4, 2019 at 10:34 AM 刘建刚 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-exp
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?