Problem building in IntelliJ

203 views
Skip to first unread message

Stian Thorgersen

unread,
Aug 15, 2022, 6:48:46 AM8/15/22
to Keycloak Dev
I've just got a new box and trying to import Keycloak into freshly installed IntelliJ, but it ain't working.

When doing a build/rebuild I get the following error:

/home/st/dev/keycloak/operator/src/main/java/org/keycloak/operator/crds/v2alpha1/realmimport/KeycloakRealmImportSpec.java:20:40
java: package org.keycloak.representations.idm does not exist

No clue why as operator has a dependency on keycloak-core and that module has built just fine.

Tried disabling operator module, and now I'm getting issues with map-hot-rod:

keycloak/model/map-hot-rod/src/main/java/org/keycloak/models/map/storage/hotRod/common/CommonPrimitivesProtoSchemaInitializer.java:40:63
java: cannot find symbol
  symbol:   class CommonPrimitivesProtoSchemaInitializerImpl
  location: interface org.keycloak.models.map.storage.hotRod.common.CommonPrimitivesProtoSchemaInitializer

Anyone seen these issues and got a clue how to fix it?

Stian Thorgersen

unread,
Aug 15, 2022, 10:36:02 AM8/15/22
to Keycloak Dev
Reply all
Reply to author
Forward
0 new messages