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

Upgrade issues from 1.2.0 to 1.4.0 Reactive #866

Closed
josebarros2025 opened this issue Jul 25, 2024 · 3 comments · Fixed by #868
Closed

Upgrade issues from 1.2.0 to 1.4.0 Reactive #866

josebarros2025 opened this issue Jul 25, 2024 · 3 comments · Fixed by #868
Labels
bug Something isn't working staged for release

Comments

@josebarros2025
Copy link

josebarros2025 commented Jul 25, 2024

Describe the bug
My project was running up and well but we had to upgrade the version because of many security vulnerabilities.
Project wont start anymore with the stack trace attached bellow.

Dependencies and versions used
spring-boot-starter-parent-3.3.1.pom
io.github.springwolf:springwolf-core 1.4.0

spring:
  application:
    name: app-name
  main:
    web-application-type: reactive

Code example

@AsyncPublisher(operation = @AsyncOperation(
            channelName = "queue name",
            description = "Messages to queue queue name",
            payloadType = MyDto.class,
            headers = @AsyncOperation.Headers(
                schemaName = "MessageHeaders",
                values = {
                }
            ),
            message = @AsyncMessage(
                messageId = "orderNumber",
                name = "SomeReply",
                description = "Example payload of SomeReply"
            )
        )
    )
    public void mymethod(...) {
        log.info("Sending message to ");
    }

Stack trace and error logs
2024-07-25T11:34:37.470 WARN 27104 --- [ restartedMain] onfigReactiveWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt:

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'io.github.springwolf.core.configuration.SpringwolfUiResourceConfigurer': Unsatisfied dependency expressed through constructor parameter 2: No qualifying bean of type

'org.springframework.boot.autoconfigure.web.servlet.WebMvcProperties' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}

@josebarros2025 josebarros2025 added the bug Something isn't working label Jul 25, 2024
Copy link

Welcome to Springwolf. Thanks a lot for reporting your first issue. Please check out our contributors guide and feel free to join us on discord.

@josebarros2025 josebarros2025 changed the title Upgrade issues from 1.2.0 to 1.4.0 Upgrade issues from 1.2.0 to 1.4.0 Reactive Jul 25, 2024
@josebarros2025
Copy link
Author

thank you

Copy link

The change is staged for release and will be part of the next release.

If you want to try and verify it in your application today,
use the latest 1.X.0-SNAPSHOT build as described in our README.md > Testing SNAPSHOT version

Thank you for the report/contribution!

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

Successfully merging a pull request may close this issue.

2 participants