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

Reply via email to