Re: Unit test have Error "could not find implicit value for evidence parameter"

2022-07-14 Thread Min Tu via user
Thanks for the tip!

On Wed, Jul 13, 2022 at 10:33 AM Jing Ge  wrote:

> Hi,
>
> you don't have to do that. Next time you can try "Invalidate Caches..."
> under the File menu in Intellij Idea.
>
> Best regards,
> Jing
>
> On Wed, Jul 13, 2022 at 7:21 PM Min Tu via user 
> wrote:
>
>> Thanks a lot !! I have removed the .idea folder and the unit test works.
>>
>> On Mon, Jul 11, 2022 at 2:44 PM Alexander Fedulov <
>> alexan...@ververica.com> wrote:
>>
>>> Hi Min Tu,
>>>
>>> try clean install to make sure the build starts from scratch. Refresh
>>> maven modules in IntelliJ after the build. If that doesn't work, try
>>> invalidating IntelliJ caches and/or reimporting the project (remove .idea
>>> folder).
>>>
>>> Best,
>>> Alexander Fedulov
>>>
>>> On Sun, Jul 10, 2022 at 12:59 AM Hemanga Borah 
>>> wrote:
>>>
 What version of scala are you using?

 Depending on the build you are using you may be using 2.11 or 2.12. The
 version on your maven build files needs to be consistent across your 
 system.

 On Fri, Jul 8, 2022 at 10:00 PM Min Tu via user 
 wrote:

> Hi,
>
> I have downloaded the flink code and the build works fine
> with following command
>
> mvnw install -DskipTests -Dcheckstyle.skip
>
> Then I try to run the unit test code in IntelliJ, but got following
> error:
>
>
> /Users/mintu/ApacheProjects/flink/flink-scala/src/test/scala/org/apache/flink/api/scala/DeltaIterationSanityCheckTest.scala:34:41
> *could not find implicit value for evidence parameter of type*
> org.apache.flink.api.common.typeinfo.TypeInformation[(Int, String)]
> val solutionInput = env.fromElements((1, "1"))
>
> Please advise.
>
> Thanks in advance
>



Re: Unit test have Error "could not find implicit value for evidence parameter"

2022-07-13 Thread Jing Ge
Hi,

you don't have to do that. Next time you can try "Invalidate Caches..."
under the File menu in Intellij Idea.

Best regards,
Jing

On Wed, Jul 13, 2022 at 7:21 PM Min Tu via user 
wrote:

> Thanks a lot !! I have removed the .idea folder and the unit test works.
>
> On Mon, Jul 11, 2022 at 2:44 PM Alexander Fedulov 
> wrote:
>
>> Hi Min Tu,
>>
>> try clean install to make sure the build starts from scratch. Refresh
>> maven modules in IntelliJ after the build. If that doesn't work, try
>> invalidating IntelliJ caches and/or reimporting the project (remove .idea
>> folder).
>>
>> Best,
>> Alexander Fedulov
>>
>> On Sun, Jul 10, 2022 at 12:59 AM Hemanga Borah 
>> wrote:
>>
>>> What version of scala are you using?
>>>
>>> Depending on the build you are using you may be using 2.11 or 2.12. The
>>> version on your maven build files needs to be consistent across your system.
>>>
>>> On Fri, Jul 8, 2022 at 10:00 PM Min Tu via user 
>>> wrote:
>>>
 Hi,

 I have downloaded the flink code and the build works fine
 with following command

 mvnw install -DskipTests -Dcheckstyle.skip

 Then I try to run the unit test code in IntelliJ, but got following
 error:


 /Users/mintu/ApacheProjects/flink/flink-scala/src/test/scala/org/apache/flink/api/scala/DeltaIterationSanityCheckTest.scala:34:41
 *could not find implicit value for evidence parameter of type*
 org.apache.flink.api.common.typeinfo.TypeInformation[(Int, String)]
 val solutionInput = env.fromElements((1, "1"))

 Please advise.

 Thanks in advance

>>>


Re: Unit test have Error "could not find implicit value for evidence parameter"

2022-07-13 Thread Min Tu via user
Thanks a lot !! I have removed the .idea folder and the unit test works.

On Mon, Jul 11, 2022 at 2:44 PM Alexander Fedulov 
wrote:

> Hi Min Tu,
>
> try clean install to make sure the build starts from scratch. Refresh
> maven modules in IntelliJ after the build. If that doesn't work, try
> invalidating IntelliJ caches and/or reimporting the project (remove .idea
> folder).
>
> Best,
> Alexander Fedulov
>
> On Sun, Jul 10, 2022 at 12:59 AM Hemanga Borah 
> wrote:
>
>> What version of scala are you using?
>>
>> Depending on the build you are using you may be using 2.11 or 2.12. The
>> version on your maven build files needs to be consistent across your system.
>>
>> On Fri, Jul 8, 2022 at 10:00 PM Min Tu via user 
>> wrote:
>>
>>> Hi,
>>>
>>> I have downloaded the flink code and the build works fine with following
>>> command
>>>
>>> mvnw install -DskipTests -Dcheckstyle.skip
>>>
>>> Then I try to run the unit test code in IntelliJ, but got following
>>> error:
>>>
>>>
>>> /Users/mintu/ApacheProjects/flink/flink-scala/src/test/scala/org/apache/flink/api/scala/DeltaIterationSanityCheckTest.scala:34:41
>>> *could not find implicit value for evidence parameter of type*
>>> org.apache.flink.api.common.typeinfo.TypeInformation[(Int, String)]
>>> val solutionInput = env.fromElements((1, "1"))
>>>
>>> Please advise.
>>>
>>> Thanks in advance
>>>
>>


Re: Unit test have Error "could not find implicit value for evidence parameter"

2022-07-11 Thread Alexander Fedulov
Hi Min Tu,

try clean install to make sure the build starts from scratch. Refresh maven
modules in IntelliJ after the build. If that doesn't work, try invalidating
IntelliJ caches and/or reimporting the project (remove .idea folder).

Best,
Alexander Fedulov

On Sun, Jul 10, 2022 at 12:59 AM Hemanga Borah 
wrote:

> What version of scala are you using?
>
> Depending on the build you are using you may be using 2.11 or 2.12. The
> version on your maven build files needs to be consistent across your system.
>
> On Fri, Jul 8, 2022 at 10:00 PM Min Tu via user 
> wrote:
>
>> Hi,
>>
>> I have downloaded the flink code and the build works fine with following
>> command
>>
>> mvnw install -DskipTests -Dcheckstyle.skip
>>
>> Then I try to run the unit test code in IntelliJ, but got following error:
>>
>>
>> /Users/mintu/ApacheProjects/flink/flink-scala/src/test/scala/org/apache/flink/api/scala/DeltaIterationSanityCheckTest.scala:34:41
>> *could not find implicit value for evidence parameter of type*
>> org.apache.flink.api.common.typeinfo.TypeInformation[(Int, String)]
>> val solutionInput = env.fromElements((1, "1"))
>>
>> Please advise.
>>
>> Thanks in advance
>>
>


Re: Unit test have Error "could not find implicit value for evidence parameter"

2022-07-09 Thread Hemanga Borah
What version of scala are you using?

Depending on the build you are using you may be using 2.11 or 2.12. The
version on your maven build files needs to be consistent across your system.

On Fri, Jul 8, 2022 at 10:00 PM Min Tu via user 
wrote:

> Hi,
>
> I have downloaded the flink code and the build works fine with following
> command
>
> mvnw install -DskipTests -Dcheckstyle.skip
>
> Then I try to run the unit test code in IntelliJ, but got following error:
>
>
> /Users/mintu/ApacheProjects/flink/flink-scala/src/test/scala/org/apache/flink/api/scala/DeltaIterationSanityCheckTest.scala:34:41
> *could not find implicit value for evidence parameter of type*
> org.apache.flink.api.common.typeinfo.TypeInformation[(Int, String)]
> val solutionInput = env.fromElements((1, "1"))
>
> Please advise.
>
> Thanks in advance
>


Unit test have Error "could not find implicit value for evidence parameter"

2022-07-08 Thread Min Tu via user
Hi,

I have downloaded the flink code and the build works fine with following
command

mvnw install -DskipTests -Dcheckstyle.skip

Then I try to run the unit test code in IntelliJ, but got following error:

/Users/mintu/ApacheProjects/flink/flink-scala/src/test/scala/org/apache/flink/api/scala/DeltaIterationSanityCheckTest.scala:34:41
*could not find implicit value for evidence parameter of type*
org.apache.flink.api.common.typeinfo.TypeInformation[(Int, String)]
val solutionInput = env.fromElements((1, "1"))

Please advise.

Thanks in advance