pagehelper / pagehelper-spring-boot

pagehelper-spring-boot
MIT License
1.55k stars 312 forks source link

支持spring native吗? #146

Closed sk142857 closed 2 years ago

sk142857 commented 2 years ago
LOGBACK: No context given for ch.qos.logback.core.spi.ContextAwareBase@422b91be,
2022-09-05 05:11:50,719  INFO 1 --- [           main] o.s.nativex.NativeListener               : AOT mode enabled,
,
  .   ____          _            __ _ _,
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \,
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \,
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) ),
  '  |____| .__|_| |_|_| |_\__, | / / / /,
 =========|_|==============|___/=/_/_/_/,
 :: Spring Boot ::                (v2.7.3),
,
2022-09-05 05:11:50,721  INFO 1 --- [           main] c.hy.sofa.nativex.user.UserApplication   : Starting UserApplication using Java 17.0.4.1 on 07975b240b75 with PID 1 (/workspace/com.hy.sofa.nativex.user.UserApplication started by cnb in /workspace),
2022-09-05 05:11:50,721 DEBUG 1 --- [           main] c.hy.sofa.nativex.user.UserApplication   : Running with Spring Boot v2.7.3, Spring v5.3.22,
2022-09-05 05:11:50,721  INFO 1 --- [           main] c.hy.sofa.nativex.user.UserApplication   : The following 1 profile is active: "dev",
2022-09-05 05:11:50,737  INFO 1 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 9999 (http),
2022-09-05 05:11:50,737  INFO 1 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat],
2022-09-05 05:11:50,737  INFO 1 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet engine: [Apache Tomcat/9.0.65],
2022-09-05 05:11:50,740  INFO 1 --- [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext,
2022-09-05 05:11:50,740  INFO 1 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 19 ms,
2022-09-05 05:11:50,794  INFO 1 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 9999 (http) with context path '',
2022-09-05 05:11:50,795  INFO 1 --- [           main] c.hy.sofa.nativex.user.UserApplication   : Started UserApplication in 0.086 seconds (JVM running for 0.089),
2022-09-05 05:11:50,796 ERROR 1 --- [           main] o.s.b.d.LoggingFailureAnalysisReporter   : ,
,
***************************,
APPLICATION FAILED TO START,
***************************,
,
Description:,
,
Native reflection configuration for org.apache.ibatis.executor.Executor.query(org.apache.ibatis.mapping.MappedStatement, java.lang.Object, org.apache.ibatis.session.RowBounds, org.apache.ibatis.session.ResultHandler) is missing.,
,
Action:,
,
Native configuration for a method accessed reflectively is likely missing.,
You can try to configure native hints in order to specify it explicitly.,
See https://docs.spring.io/spring-native/docs/current/reference/htmlsingle/#native-hints for more details.,
,
2022-09-05 05:11:50,796  INFO 1 --- [           main] o.s.b.w.e.tomcat.GracefulShutdown        : Commencing graceful shutdown. Waiting for active requests to complete,
2022-09-05 05:11:50,796  INFO 1 --- [tomcat-shutdown] o.s.b.w.e.tomcat.GracefulShutdown        : Graceful shutdown complete