Skip to content

@Value cases SpringCGLIB$$0 required a bean of type java.lang.String that could not be found in Native compile when migrating to SB 3.4 #33960

@mshima

Description

@mshima

Seems to be an incomplete fix to #33030.

Workaround is to use proxyBeanMethods = false .

@Configuration
public class LoggingConfiguration {
    public LoggingConfiguration(@Value("${spring.application.name}") String appName, @Value("${server.port}") String serverPort) {}
}

Metadata

Metadata

Assignees

Labels

theme: aotAn issue related to Ahead-of-time processingtype: regressionA bug that is also a regression

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions