Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to compile native(AOT) program; version is 3.0.0-RC2 #33299

Closed
qlshouyu opened this issue Nov 22, 2022 · 1 comment
Closed

Failed to compile native(AOT) program; version is 3.0.0-RC2 #33299

qlshouyu opened this issue Nov 22, 2022 · 1 comment
Labels
status: duplicate A duplicate of another issue

Comments

@qlshouyu
Copy link

qlshouyu commented Nov 22, 2022

[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ syrtc-ums ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 16 source files to D:\workspace\2.my_project\SYRTC\syrtc-ums\target\classes
[INFO] /D:/workspace/2.my_project/SYRTC/syrtc-ums/src/main/java/com/shouyu/syrtc/ums/entity/vo/AddUserVo.java: D:\workspace\2.my_project\SYRTC\syrtc-ums\src\main\java\com\shouyu\syrtc\ums\entity\vo\AddUserVo.java uses unchecked or unsafe operations.
[INFO] /D:/workspace/2.my_project/SYRTC/syrtc-ums/src/main/java/com/shouyu/syrtc/ums/entity/vo/AddUserVo.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ syrtc-ums ---
[INFO] skip non existing resourceDirectory D:\workspace\2.my_project\SYRTC\syrtc-ums\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ syrtc-ums ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to D:\workspace\2.my_project\SYRTC\syrtc-ums\target\test-classes
[INFO] /D:/workspace/2.my_project/SYRTC/syrtc-ums/src/test/java/com/shouyu/syrtc/ums/SyrtcUmsApplicationTests.java: D:\workspace\2.my_project\SYRTC\syrtc-ums\src\test\java\com\shouyu\syrtc\ums\SyrtcUmsApplicationTests.java uses or overrides a deprecated API.
[INFO] /D:/workspace/2.my_project/SYRTC/syrtc-ums/src/test/java/com/shouyu/syrtc/ums/SyrtcUmsApplicationTests.java: Recompile with -Xlint:deprecation for details.
[INFO]
[INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ syrtc-ums ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- spring-boot-maven-plugin:3.0.0-RC2:process-aot (process-aot) @ syrtc-ums ---

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::            (v3.0.0-RC2)

2022-11-22T20:26:46.645+08:00  INFO 50444 --- [           main] c.shouyu.syrtc.ums.SyrtcUmsApplication   : Starting SyrtcUmsApplication using Java 17.0.5 with PID 50444 (D:\workspace\2.my_project\SYRTC\syrtc-ums\target\classes started by lugao2 in D:\workspace\2.my_project\SYRTC\syrtc-ums)
2022-11-22T20:26:46.652+08:00  INFO 50444 --- [           main] c.shouyu.syrtc.ums.SyrtcUmsApplication   : No active profile set, falling back to 1 default profile: "default"
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  16.588 s
[INFO] Finished at: 2022-11-22T20:26:53+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:3.0.0-RC2:process-aot (process-aot) on project syrtc-ums: Unable to compile generated source
[ERROR] org.springframework.boot.actuate.autoconfigure.endpoint.web.reactive.WebFluxEndpointManagementContextConfiguration.ServerCodecConfigurerEndpointObjectMapperBeanPostProcessor has private access in org.springframework.boot.actuate.autoconfigure.endpoint.web.reactive.WebFluxEndpointManagementContextConfiguration D:\workspace\2.my_project\SYRTC\syrtc-ums\target\spring-aot\main\sources\org\springframework\boot\actuate\autoconfigure\endpoint\web\reactive\WebFluxEndpointManagementContextConfiguration__BeanDefinitions.java 72:84
[ERROR] org.springframework.boot.actuate.autoconfigure.endpoint.web.reactive.WebFluxEndpointManagementContextConfiguration.ServerCodecConfigurerEndpointObjectMapperBeanPostProcessor has private access in org.springframework.boot.actuate.autoconfigure.endpoint.web.reactive.WebFluxEndpointManagementContextConfiguration D:\workspace\2.my_project\SYRTC\syrtc-ums\target\spring-aot\main\sources\org\springframework\boot\actuate\autoconfigure\endpoint\web\reactive\WebFluxEndpointManagementContextConfiguration__BeanDefinitions.java 74:79
[ERROR] org.springframework.boot.actuate.autoconfigure.endpoint.web.reactive.WebFluxEndpointManagementContextConfiguration.ServerCodecConfigurerEndpointObjectMapperBeanPostProcessor has private access in org.springframework.boot.actuate.autoconfigure.endpoint.web.reactive.WebFluxEndpointManagementContextConfiguration D:\workspace\2.my_project\SYRTC\syrtc-ums\target\spring-aot\main\sources\org\springframework\boot\actuate\autoconfigure\endpoint\web\reactive\WebFluxEndpointManagementContextConfiguration__BeanDefinitions.java 82:70
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Nov 22, 2022
@wilkinsona
Copy link
Member

Thanks for trying the release candidates. This has been fixed in the latests snapshots.

Duplicates #33278, #33106

@wilkinsona wilkinsona closed this as not planned Won't fix, can't repro, duplicate, stale Nov 22, 2022
@wilkinsona wilkinsona added status: duplicate A duplicate of another issue and removed status: waiting-for-triage An issue we've not yet triaged labels Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

3 participants