Thank you for your suggestions,
I did everything that you said however did not worked. After all, I deleted
the /home/myuser/.m2 directory and generated the source again. I also
closed my Eclipse IDE because the machine was running out of memory. I am
not sure about the second action. But when I restart Intellij again I could
build the project.
Thanks, Felipe
*--*
*-- Felipe Gutierrez*

*-- skype: felipe.o.gutierrez*
*--* *https://felipeogutierrez.blogspot.com
<https://felipeogutierrez.blogspot.com>*


On Wed, Mar 6, 2019 at 1:43 PM Kurt Young <ykt...@gmail.com> wrote:

> And sometimes just reimport maven will work.
>
> Right click pom.xml located in Flink's root dir -> Maven -> Reimport
>
> Best,
> Kurt
>
>
> On Wed, Mar 6, 2019 at 8:02 PM Chesnay Schepler <ches...@apache.org>
> wrote:
>
>> Usually when I run into this i use "File -> Invalidate Caches /
>> Restart... -> Invalidate and restart"
>>
>> On 05.03.2019 16:15, Felipe Gutierrez wrote:
>> > Hello,
>> >
>> > I imported the flink source code at my Intellij IDE following the steps
>> > described here
>> >
>> https://ci.apache.org/projects/flink/flink-docs-stable/flinkDev/ide_setup.html#importing-flink
>> > and after I included the CheckStyle described here. When I use "mvn
>> clean
>> > package -DskipTests" everything compiles smoothly. For some reason I am
>> > getting these errors on Intellij:
>> >
>> >
>> /home/felipe/idea-workspace/flink/flink-test-utils-parent/flink-test-utils/src/main/java/org/apache/flink/test/util/MiniClusterWithClientResource.java
>> > Error:(23, 42) java: package org.apache.flink.runtime.testutils does not
>> > exist
>> > Error:(24, 42) java: package org.apache.flink.runtime.testutils does not
>> > exist
>> > Error:(33, 34) java: modifier private not allowed here
>> > Error:(35, 33) java: modifier private not allowed here
>> >
>> /home/felipe/idea-workspace/flink/flink-test-utils-parent/flink-test-utils/src/main/java/org/apache/flink/test/util/MiniClusterResource.java
>> > Error:(29, 8) java: cyclic inheritance involving
>> > org.apache.flink.test.util.MiniClusterResource
>> > Error:(28, 1) java: annotation type not applicable to this kind of
>> > declaration
>> >
>> /home/felipe/idea-workspace/flink/flink-test-utils-parent/flink-test-utils/src/main/java/org/apache/flink/test/util/MiniClusterResourceConfiguration.java
>> > Error:(33, 89) java: package org.apache.flink.runtime.testutils does not
>> > exist
>> >
>> /home/felipe/idea-workspace/flink/flink-test-utils-parent/flink-test-utils/src/main/java/org/apache/flink/test/util/AbstractTestBase.java
>> > Error:(21, 42) java: package org.apache.flink.runtime.testutils does not
>> > exist
>> > Warning:(63, 21) java:
>> > org.apache.flink.test.util.MiniClusterResourceConfiguration in
>> > org.apache.flink.test.util has been deprecated
>> >
>> /home/felipe/idea-workspace/flink/flink-test-utils-parent/flink-test-utils/src/main/java/org/apache/flink/test/util/TestProcessBuilder.java
>> > Error:(23, 42) java: package org.apache.flink.runtime.testutils does not
>> > exist
>> > Error:(24, 58) java: package
>> > org.apache.flink.runtime.testutils.CommonTestUtils does not exist
>> > Error:(32, 49) java: package org.apache.flink.runtime.testutils does not
>> > exist
>> > Error:(32, 1) java: static import only from classes and interfaces
>> > Error:(33, 49) java: package org.apache.flink.runtime.testutils does not
>> > exist
>> > Error:(33, 1) java: static import only from classes and interfaces
>> > Error:(40, 57) java: cannot find symbol
>> >    symbol:   method getJavaCommandPath()
>> >    location: class org.apache.flink.test.util.TestProcessBuilder
>> > Error:(52, 17) java: cannot find symbol
>> >    symbol:   variable CommonTestUtils
>> >    location: class org.apache.flink.test.util.TestProcessBuilder
>> > Error:(57, 29) java: cannot find symbol
>> >    symbol:   method getCurrentClasspath()
>> >    location: class org.apache.flink.test.util.TestProcessBuilder
>> > Error:(74, 21) java: cannot find symbol
>> >    symbol:   class PipeForwarder
>> >    location: class org.apache.flink.test.util.TestProcessBuilder
>> >
>> > How can I fix it on Intellij?
>> >
>> > Thanks, Felipe
>> >
>> > *--*
>> > *-- Felipe Gutierrez*
>> >
>> > *-- skype: felipe.o.gutierrez*
>> > *--* *https://felipeogutierrez.blogspot.com
>> > <https://felipeogutierrez.blogspot.com>*
>> >
>>
>>

Reply via email to