-
-
Notifications
You must be signed in to change notification settings - Fork 466
Closed
Labels
BugIssue typeIssue type
Description
Integration
sentry
Java Version
17
Version
6.26.0
Steps to Reproduce
- Add only
sentry-spring-boot-starter-jakartato a Spring Boot application - Compilation fails as core Spring Boot infrastructure is not available.
Expected Result
compilation succeed.
Actual Result
> Task :compileJava
/Users/snicoll/Downloads/demo-sentry-test/src/main/java/com/example/demosentrytest/DemoSentryTestApplication.java:3: error: package org.springframework.boot does not exist
import org.springframework.boot.SpringApplication;
^
/Users/snicoll/Downloads/demo-sentry-test/src/main/java/com/example/demosentrytest/DemoSentryTestApplication.java:4: error: package org.springframework.boot.autoconfigure does not exist
import org.springframework.boot.autoconfigure.SpringBootApplication;
^
/Users/snicoll/Downloads/demo-sentry-test/src/main/java/com/example/demosentrytest/DemoSentryTestApplication.java:6: error: cannot find symbol
@SpringBootApplication
^
symbol: class SpringBootApplication
/Users/snicoll/Downloads/demo-sentry-test/src/main/java/com/example/demosentrytest/DemoSentryTestApplication.java:10: error: cannot find symbol
SpringApplication.run(DemoSentryTestApplication.class, args);
^
symbol: variable SpringApplication
location: class DemoSentryTestApplication
4 errors
> Task :compileJava FAILED
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BugIssue typeIssue type
Projects
Status
Waiting for: Product Owner