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

sentry-spring[-boot] not installed #549

Closed
AntonOellerer opened this issue Aug 29, 2023 · 1 comment · Fixed by #553
Closed

sentry-spring[-boot] not installed #549

AntonOellerer opened this issue Aug 29, 2023 · 1 comment · Fixed by #553

Comments

@AntonOellerer
Copy link

Integration

other

Java Version

17

Version

6.28.0

Steps to Reproduce

  1. Have the following gradle file
plugins {
    id 'java'
    id 'com.google.cloud.tools.jib' version '3.3.2'
    id 'org.springframework.boot' version '3.1.3'
    id "io.sentry.jvm.gradle" version "3.12.0"
}

dependencies {
    implementation platform('io.sentry:sentry-bom:6.28.0')
    implementation 'io.sentry:sentry-log4j2'
}

jib {
    from {
        image = "eclipse-temurin:17-jre-alpine"
    }
}
  1. Run the jib task

Expected Result

Sentry is installed

Actual Result

> Task :compileJava
[sentry] sentry-spring-boot won't be installed because the current version is higher than the maximum supported version (2.9999.9999)
[sentry] sentry-spring won't be installed because the current version is higher than the maximum supported version (5.9999.9999)
@romtsn
Copy link
Member

romtsn commented Aug 30, 2023

hi @AntonOellerer this is just a warning message that the older sentry-spring-boot dependency won't be installed (the newer one (-jakarta/3.+) is still installed correctly). We'll change the log level to info to avoid the confusion.

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