Upgrade issues from 1.2.0 to 1.4.0 Reactive
josebarros2025 opened this issue · comments
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: {}
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.
thank you
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!