geode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kirk Lund <kl...@apache.org>
Subject Re: Resolving geode-pulse compilation errors in IntelliJ
Date Fri, 22 Jun 2018 16:39:42 GMT
After resolving the compilation errors in geode-pulse, I see a failure
compiling buildSrc when I do an IntelliJ build...

/Users/klund/dev/gemfire_CLEAN/open/buildSrc/src/test/java/org/apache/geode/javac/TestCompiler.java
Error:(40, 23) java: cannot find symbol
  symbol:   class EnsureCorrectRunsWithProcessor
  location: class org.apache.geode.javac.TestCompiler

Class EnsureCorrectRunsWithProcessor is in buildSrc. I'm not familiar with
buildSrc so I'm not sure if it even needs to be built within IntelliJ for
debugging Geode tests.


On Thu, Jun 21, 2018 at 2:40 PM, Kirk Lund <klund@apache.org> wrote:

> After the recent Gradle upgrade, you might see some compilation errors in
> IntelliJ involving geode-pulse such as the following:
>
> /Users/klund/dev/gemfire/open/geode-pulse/src/main/java/org/
> apache/geode/tools/pulse/internal/service/MemberDetailsService.java
> Error:(28, 46) java: package org.springframework.context.annotation does
> not exist
> Error:(29, 38) java: package org.springframework.stereotype does not exist
> Error:(30, 38) java: package org.springframework.stereotype does not exist
> Error:(42, 2) java: cannot find symbol
>   symbol: class Component
> Error:(43, 2) java: cannot find symbol
>   symbol: class Service
> Error:(44, 2) java: cannot find symbol
>   symbol: class Scope
>
> To resolve this, open:
>
> Preferences -> Build, Execution, Deployment -> BuildTools -> Gradle
>
> There you’ll see your Geode project under the “Linked Gradle projects” —
> you need to select it and then deselect “Create separate module per source
> set.”
>
> This worked for me.
>
> Thanks,
> Kirk
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message