when `gradle nativeCompile`, I got this:
Exception in thread "main" org.springframework.boot.context.properties.bind.MissingParametersCompilerArgumentException: Constructor binding in a native image requires compilation with -parameters but the following classes were compiled without it:
org.apache.ibatis.builder.CacheRefResolver
org.apache.ibatis.parsing.XNode
org.apache.ibatis.mapping.ResultFlag
org.apache.ibatis.builder.ResultMapResolver
org.apache.ibatis.builder.annotation.MethodResolver
at org.springframework.boot.context.properties.bind.BindableRuntimeHintsRegistrar.registerHints(BindableRuntimeHintsRegistrar.java:87)
at org.springframework.boot.context.properties.ConfigurationPropertiesBeanFactoryInitializationAotProcessor$ConfigurationPropertiesReflectionHintsContribution.applyTo(ConfigurationPropertiesBeanFactoryInitializationAotProcessor.java:70)
at org.springframework.context.aot.BeanFactoryInitializationAotContributions.applyTo(BeanFactoryInitializationAotContributions.java:78)
at org.springframework.context.aot.ApplicationContextAotGenerator.lambda$processAheadOfTime$0(ApplicationContextAotGenerator.java:58)
at org.springframework.context.aot.ApplicationContextAotGenerator.withCglibClassHandler(ApplicationContextAotGenerator.java:67)
at org.springframework.context.aot.ApplicationContextAotGenerator.processAheadOfTime(ApplicationContextAotGenerator.java:53)
at org.springframework.context.aot.ContextAotProcessor.performAotProcessing(ContextAotProcessor.java:106)
at org.springframework.context.aot.ContextAotProcessor.doProcess(ContextAotProcessor.java:84)
at org.springframework.context.aot.ContextAotProcessor.doProcess(ContextAotProcessor.java:49)
at org.springframework.context.aot.AbstractAotProcessor.process(AbstractAotProcessor.java:82)
at org.springframework.boot.SpringApplicationAotProcessor.main(SpringApplicationAotProcessor.java:76)
it happened in spring-boot:3.0.0:process-aot native build
Comment From: qmdx
使用最新 3.5.3 版本
Comment From: the-tsing
3.5.3版本也有这个问题
Comment From: tiro8183
3.5.3版本也有这个问题
Comment From: ijry
+1
Comment From: Abandoned9
+1 3.5.3也有这个问题 @qmdx
Comment From: lizhuoxuan
我使用3.5.3.1也有这个问题,是mybatis plus的问题,还是gradle的问题?
Comment From: gogolin001
是mybatis的问题
Comment From: goatherd-bot
是mybatis的问题
请问目前有解决办法吗?
Comment From: 02uk
我使用3.5.13添加