Skip to content

When the main class is not proxied, native testing that uses the application's main method does not work #44461

Closed
@wilkinsona

Description

@wilkinsona

It fails due to missing hints that are needed to allow the main method to be called using reflection. Up until now, this would only be seen when using @SpringBootApplication(proxyBeanMethods=false). It will become more common with Framework 6.1.18 and 6.2.4 where CGBLib proxies are no longer generated for @Configuration classes with no @Bean methods.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions