-
Notifications
You must be signed in to change notification settings - Fork 88
Description
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: {}