Scala: Static methods in interface require -target:jvm-1.8

2020-09-28 Thread Lu Weizheng
Hi all, I recently upgraded Intellij IEDA from 2019 to 2020.2 Community Edition. I didn’t do anything to Maven. My code could compile correctly before. But now I get the following error: Static methods in interface require -target:jvm-1.8 Probably because I use new WatermarkStrategy Scala API:

Re: Scala: Static methods in interface require -target:jvm-1.8

2020-09-28 Thread Piotr Nowojski
Hi, It sounds more like an Intellij issue, not a Flink issue. But have you checked your configured target language level for your modules? Best regards, Piotrek pon., 28 wrz 2020 o 10:57 Lu Weizheng napisał(a): > Hi all, > > I recently upgraded Intellij IEDA from 2019 to 2020.2 Community Editi

Re: Scala: Static methods in interface require -target:jvm-1.8

2020-10-02 Thread Arvid Heise
Also you could check if Java11 profile in Maven was (de)activated for some reason. On Mon, Sep 28, 2020 at 3:29 PM Piotr Nowojski wrote: > Hi, > > It sounds more like an Intellij issue, not a Flink issue. But have you > checked your configured target language level for your modules? > > Best reg