flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aljoscha Krettek <aljos...@apache.org>
Subject Re: Tips to fix IDEA strange problem after updating master code
Date Tue, 04 Jul 2017 07:46:48 GMT
Thanks for the hint!

> On 4. Jul 2017, at 06:03, Ted Yu <yuzhihong@gmail.com> wrote:
> 
> Looks like the picture didn't go thru.
> 
> Mind using third party site ?
> 
> Thanks
> 
> On Mon, Jul 3, 2017 at 8:56 PM, Jark Wu <jark@apache.org> wrote:
> 
>> Hi devs,
>> 
>> Yesterday, I updated the master code which include [FLINK-7030]: Build
>> with scala-2.11 by default. After that, I entered a strange problem with
>> IDEA that many classes can't be found, and the project can't be
>> built/compiled (in IDEA), but maven install worked good.
>> 
>> After a series of attempts, I found that IDEA activate the scala-2.10
>> profile by default which result in this problem. After deactivate
>> scala-2.10 profile via  sidebar Maven Projects -> Profiles -> deactivate
>> "scala-2.10" profile, and every works good again.
>> 
>> [image: 内嵌图片 1]
>> 
>> I share this tip in the dev list, because a lot of my colleagues have the
>> same issues, and maybe many other Flink devs have the same problem too.
>> 
>> BTW, I don't know why IDEA activate scala-2.10 by default, not sure it's a
>> IDEA bug or the wrong profile setting somewhere.
>> 
>> 
>> Regards,
>> Jark Wu
>> 


Mime
View raw message