StupidManYI commented on issue #13816:
URL: https://github.com/apache/dubbo/issues/13816#issuecomment-1977209965
nacos is not currently supported native:compile, so I replaced nacos to
zookeeper(new branch zookeeper),
I met a new bug when `mvn clean package native:compile -Pnative`
```
Exception in thread "main" java.lang.NoClassDefFoundError:
com/fasterxml/jackson/databind/PropertyNamingStrategies
at
org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration$JacksonAutoConfigurationRuntimeHints.registerPropertyNamingStrategyHints(JacksonAutoConfiguration.java:360)
at
org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration$JacksonAutoConfigurationRuntimeHints.registerHints(JacksonAutoConfiguration.java:350)
at
org.springframework.context.aot.RuntimeHintsBeanFactoryInitializationAotProcessor$RuntimeHintsRegistrarContribution.lambda$applyTo$0(RuntimeHintsBeanFactoryInitializationAotProcessor.java:116)
at
java.base/java.util.LinkedHashMap$LinkedValues.forEach(LinkedHashMap.java:647)
at
org.springframework.context.aot.RuntimeHintsBeanFactoryInitializationAotProcessor$RuntimeHintsRegistrarContribution.applyTo(RuntimeHintsBeanFactoryInitializationAotProcessor.java:110)
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:80)
Caused by: java.lang.ClassNotFoundException:
com.fasterxml.jackson.databind.PropertyNamingStrategies
at
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
... 14 more
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 16.494 s
[INFO] Finished at: 2024-03-05T02:22:21+08:00
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]