Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project fails to compile when updating to the latest release of radar-commons and radar-jersey #66

Open
this-Aditya opened this issue Mar 8, 2024 · 0 comments

Comments

@this-Aditya
Copy link
Member

this-Aditya commented Mar 8, 2024

When updating radarCommonsVersion and radarJerseyVersion to their latest releases (1.1.2) and (0.11.0) respectively, the project breaks during compilation.

Here are the Event Logs:

Task :compileKotlin
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/gateway/inject/GatewayResourceEnhancer.kt:14:36 Unresolved reference: SchemaRetriever
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/gateway/inject/GatewayResourceEnhancer.kt:29:9 None of the following functions can be called with the arguments supplied:
public open fun <T : Any!> bindFactory(p0: Class<out Supplier<TypeVariable(T)!>!>!): SupplierClassBinding<TypeVariable(T)!>! defined in org.glassfish.jersey.internal.inject.AbstractBinder
public open fun <T : Any!> bindFactory(p0: Supplier<TypeVariable(T)!>!): SupplierInstanceBinding<TypeVariable(T)!>! defined in org.glassfish.jersey.internal.inject.AbstractBinder
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/gateway/inject/GatewayResourceEnhancer.kt:30:21 Unresolved reference: SchemaRetriever
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/gateway/inject/PushIntegrationEnhancerFactory.kt:3:8 Unresolved reference: okhttp3
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/gateway/inject/PushIntegrationEnhancerFactory.kt:29:30 Unresolved reference: toImmutableList
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/gateway/inject/RadarResourceEnhancer.kt:10:8 Unresolved reference: okhttp3
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/gateway/inject/RadarResourceEnhancer.kt:27:17 Unresolved reference: OkHttpClient
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/gateway/inject/RadarResourceEnhancer.kt:27:32 Unresolved reference: OkHttpClient
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/gateway/inject/RadarResourceEnhancer.kt:44:17 Unresolved reference: OkHttpClient
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/gateway/inject/SchemaRetrieverFactory.kt:7:8 Unresolved reference: okhttp3
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/gateway/inject/SchemaRetrieverFactory.kt:8:8 Unresolved reference: okhttp3
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/gateway/inject/SchemaRetrieverFactory.kt:11:36 Unresolved reference: RestClient
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/gateway/inject/SchemaRetrieverFactory.kt:12:36 Unresolved reference: SchemaRetriever
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/gateway/inject/SchemaRetrieverFactory.kt:19:13 Unresolved reference: SchemaRetriever
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/gateway/inject/SchemaRetrieverFactory.kt:20:25 Unresolved reference: SchemaRetriever
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/gateway/inject/SchemaRetrieverFactory.kt:32:13 Unresolved reference: headersOf
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/gateway/inject/SchemaRetrieverFactory.kt:32:40 Unresolved reference: Credentials
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/gateway/inject/SchemaRetrieverFactory.kt:33:16 Unresolved reference: headersOf
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/gateway/inject/SchemaRetrieverFactory.kt:35:16 Unresolved reference: SchemaRetriever
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/gateway/inject/SchemaRetrieverFactory.kt:35:32 Unresolved reference: RestClient
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/gateway/kafka/KafkaAdminService.kt:10:29 Unresolved reference: util
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/gateway/kafka/KafkaAdminService.kt:11:29 Unresolved reference: util
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/gateway/kafka/KafkaAdminService.kt:12:29 Unresolved reference: util
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/gateway/kafka/KafkaAdminService.kt:23:29 Unresolved reference: CachedSet
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/gateway/kafka/KafkaAdminService.kt:34:50 Unresolved reference: CachedValue
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/gateway/kafka/KafkaAdminService.kt:45:13 Unresolved reference: CachedValue
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/gateway/kafka/KafkaAdminService.kt:67:39 Unresolved reference: CacheConfig
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/gateway/kafka/KafkaAdminService.kt:72:43 Unresolved reference: CacheConfig
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/gateway/kafka/KafkaHealthMetric.kt:6:1 Class 'KafkaHealthMetric' is not abstract and does not implement abstract base class member public abstract suspend fun computeMetrics(): Map<String, Any> defined in org.radarbase.jersey.service.HealthService.Metric
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/gateway/kafka/KafkaHealthMetric.kt:9:5 'status' overrides nothing
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/gateway/kafka/KafkaHealthMetric.kt:17:5 'metrics' overrides nothing
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/common/auth/DelegatedAuthValidator.kt:7:34 Unresolved reference: Auth
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/common/auth/DelegatedAuthValidator.kt:32:75 Unresolved reference: Auth
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/common/auth/Oauth1Signing.kt:3:8 Unresolved reference: okhttp3
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/common/auth/Oauth1Signing.kt:11:30 Unresolved reference: Request
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/common/auth/Oauth1Signing.kt:11:40 Unresolved reference: Request
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/auth/GarminAuthValidator.kt:8:34 Unresolved reference: Auth
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/auth/GarminAuthValidator.kt:10:43 Unresolved reference: DisabledAuth
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/auth/GarminAuthValidator.kt:27:75 Unresolved reference: Auth
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/auth/GarminAuthValidator.kt:67:13 Unresolved reference: DisabledAuth
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/backfill/GarminRequestGenerator.kt:3:8 Unresolved reference: okhttp3
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/backfill/GarminRequestGenerator.kt:127:68 Unresolved reference: Response
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/backfill/GarminRequestGenerator.kt:138:64 Unresolved reference: Response
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/backfill/RequestGenerator.kt:3:8 Unresolved reference: okhttp3
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/backfill/RequestGenerator.kt:10:59 Unresolved reference: Response
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/backfill/RequestGenerator.kt:12:55 Unresolved reference: Response
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/backfill/RestRequest.kt:3:8 Unresolved reference: okhttp3
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/backfill/RestRequest.kt:7:37 Unresolved reference: Request
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/backfill/route/GarminRoute.kt:3:8 Unresolved reference: okhttp3
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/backfill/route/GarminRoute.kt:4:8 Unresolved reference: okhttp3
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/backfill/route/GarminRoute.kt:26:74 Unresolved reference: Request
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/backfill/route/GarminRoute.kt:27:23 Unresolved reference: Request
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/backfill/route/GarminRoute.kt:39:24 Unresolved reference: HttpUrl
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/backfill/route/GarminRoute.kt:47:17 None of the following functions can be called with the arguments supplied:
public operator fun <K, V> Map<out TypeVariable(K), TypeVariable(V)>.plus(pairs: Array<out Pair<TypeVariable(K), TypeVariable(V)>>): Map<TypeVariable(K), TypeVariable(V)> defined in kotlin.collections
public operator fun <K, V> Map<out TypeVariable(K), TypeVariable(V)>.plus(pair: Pair<TypeVariable(K), TypeVariable(V)>): Map<TypeVariable(K), TypeVariable(V)> defined in kotlin.collections
public operator fun <K, V> Map<out TypeVariable(K), TypeVariable(V)>.plus(pairs: Iterable<Pair<TypeVariable(K), TypeVariable(V)>>): Map<TypeVariable(K), TypeVariable(V)> defined in kotlin.collections
public operator fun <K, V> Map<out TypeVariable(K), TypeVariable(V)>.plus(map: Map<out TypeVariable(K), TypeVariable(V)>): Map<TypeVariable(K), TypeVariable(V)> defined in kotlin.collections
public operator fun <K, V> Map<out TypeVariable(K), TypeVariable(V)>.plus(pairs: Sequence<Pair<TypeVariable(K), TypeVariable(V)>>): Map<TypeVariable(K), TypeVariable(V)> defined in kotlin.collections
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/service/BackfillService.kt:5:8 Unresolved reference: okhttp3
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/service/BackfillService.kt:33:38 Unresolved reference: OkHttpClient
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/service/BackfillService.kt:113:61 Cannot infer a type for this parameter. Please specify it explicitly.
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/user/GarminServiceUserRepository.kt:7:8 Unresolved reference: okhttp3
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/user/GarminServiceUserRepository.kt:8:8 Unresolved reference: okhttp3
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/user/GarminServiceUserRepository.kt:9:8 Unresolved reference: okhttp3
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/user/GarminServiceUserRepository.kt:10:8 Unresolved reference: okhttp3
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/user/GarminServiceUserRepository.kt:32:34 Unresolved reference: OkHttpClient
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/user/GarminServiceUserRepository.kt:40:26 Unresolved reference: HttpUrl
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/user/GarminServiceUserRepository.kt:67:14 Cannot access class 'okhttp3.OkHttpClient'. Check your module classpath for missing or conflicting dependencies
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/user/GarminServiceUserRepository.kt:73:22 Unresolved reference: Request
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/user/GarminServiceUserRepository.kt:105:51 Unresolved reference: toRequestBody
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/user/GarminServiceUserRepository.kt:137:50 Unresolved reference: Request
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/user/GarminServiceUserRepository.kt:138:18 Unresolved reference: HttpUrl
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/user/GarminServiceUserRepository.kt:140:22 Unresolved reference: Request
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/user/GarminServiceUserRepository.kt:140:40 Unresolved reference: Request
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/user/GarminServiceUserRepository.kt:158:42 Unresolved reference: Request
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/user/GarminServiceUserRepository.kt:160:49 Cannot infer a type for this parameter. Please specify it explicitly.
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/user/GarminServiceUserRepository.kt:161:23 Unresolved reference: ResponseBody
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/user/GarminServiceUserRepository.kt:172:13 'return' is not allowed here
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/user/GarminServiceUserRepository.kt:174:29 Overload resolution ambiguity:
public open fun <T : Any!> readValue(p0: JsonParser!): TypeVariable(T)! defined in com.fasterxml.jackson.databind.ObjectReader
public open fun <T : Any!> readValue(p0: JsonNode!): TypeVariable(T)! defined in com.fasterxml.jackson.databind.ObjectReader
public open fun <T : Any!> readValue(p0: DataInput!): TypeVariable(T)! defined in com.fasterxml.jackson.databind.ObjectReader
public open fun <T : Any!> readValue(p0: File!): TypeVariable(T)! defined in com.fasterxml.jackson.databind.ObjectReader
public open fun <T : Any!> readValue(p0: InputStream!): TypeVariable(T)! defined in com.fasterxml.jackson.databind.ObjectReader
public open fun <T : Any!> readValue(p0: Reader!): TypeVariable(T)! defined in com.fasterxml.jackson.databind.ObjectReader
public open fun <T : Any!> readValue(p0: URL!): TypeVariable(T)! defined in com.fasterxml.jackson.databind.ObjectReader
public open fun <T : Any!> readValue(p0: ByteArray!): TypeVariable(T)! defined in com.fasterxml.jackson.databind.ObjectReader
public open fun <T : Any!> readValue(p0: String!): TypeVariable(T)! defined in com.fasterxml.jackson.databind.ObjectReader
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/user/GarminServiceUserRepository.kt:180:5 A 'return' expression required in a function with a block body ('{...}')
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/user/GarminServiceUserRepository.kt:182:37 Unresolved reference: HttpUrl
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/user/GarminServiceUserRepository.kt:186:26 Unresolved reference: toHttpUrlOrNull
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/user/GarminServiceUserRepository.kt:192:73 Unresolved reference: toMediaType
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/user/GarminServiceUserRepository.kt:193:33 Unresolved reference: RequestBody
e: file:///E:/Radar/RADAR-PushEndpoint/src/main/kotlin/org/radarbase/push/integration/garmin/user/GarminServiceUserRepository.kt:193:50 Unresolved reference: toRequestBody

Task :compileKotlin FAILED

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant