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

A Spring Boot app that's configured to use Jetty fails to generate request recordings #265

Closed
apotterri opened this issue Mar 18, 2024 · 1 comment · Fixed by #266
Closed
Assignees
Labels
bug Something isn't working released

Comments

@apotterri
Copy link
Contributor

With this in a Spring Boot app's pom.xml

    <dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-starter-web</artifactId>
      <exclusions>
        <exclusion>
          <groupId>org.springframework.boot</groupId>
          <artifactId>spring-boot-starter-tomcat</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-jetty</artifactId>
    </dependency>

the mvn spring-boot:run will start an embedded Jetty server to host the app.

The Java agent incorrectly detects this as a Spark server and causes request recording to fail.

@apotterri apotterri added the bug Something isn't working label Mar 18, 2024
@apotterri apotterri self-assigned this Mar 18, 2024
@appland-release
Copy link

🎉 This issue has been resolved in version 1.26.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants