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

Too many warnings complained by LocalVariableTableParameterNameDiscoverer #2834

Closed
JohnNiang opened this issue Dec 5, 2022 · 2 comments
Closed
Labels
area/core Issues or PRs related to the Halo Core kind/improvement Categorizes issue or PR as related to a improvement.

Comments

@JohnNiang
Copy link
Member

What is version of Halo has the issue?

2.0.1-SNAPSHOT

What database are you using?

H2

What is your deployment method?

Docker

Your site address.

No response

What happened?

After we upgraded to Spring Boot 3.0.0, we got too many warnings logged by LocalVariableTableParameterNameDiscoverer.

Although these warnings do not seem to be very serious problems now, unpredictable errors will occur when Spring Boot is upgraded some time later.

References:

Relevant log output

__  __      __
   / / / /___ _/ /___
  / /_/ / __ `/ / __ \
 / __  / /_/ / / /_/ /
/_/ /_/\__,_/_/\____/

Version: 
2022-12-05T11:22:03.961+08:00  INFO 25032 --- [  restartedMain] run.halo.app.Application                 : Starting Application using Java 17.0.5 with PID 25032 (C:\Users\johnn\workspaces\halo-dev\halo\out\production\classes started by johnn in C:\Users\johnn\workspaces\halo-dev\halo)
2022-12-05T11:22:03.962+08:00 DEBUG 25032 --- [  restartedMain] run.halo.app.Application                 : Running with Spring Boot v3.0.0, Spring v6.0.2
2022-12-05T11:22:03.962+08:00  INFO 25032 --- [  restartedMain] run.halo.app.Application                 : The following 2 profiles are active: "dev", "win"
2022-12-05T11:22:04.036+08:00  INFO 25032 --- [  restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
2022-12-05T11:22:04.036+08:00  INFO 25032 --- [  restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
2022-12-05T11:22:05.420+08:00  INFO 25032 --- [  restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode
2022-12-05T11:22:05.421+08:00  INFO 25032 --- [  restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data R2DBC repositories in DEFAULT mode.
2022-12-05T11:22:05.623+08:00  INFO 25032 --- [  restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 197 ms. Found 1 R2DBC repository interfaces.
2022-12-05T11:22:06.500+08:00  WARN 25032 --- [  restartedMain] ocalVariableTableParameterNameDiscoverer : Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: run.halo.app.content.comment.CommentServiceImpl
2022-12-05T11:22:06.506+08:00  WARN 25032 --- [  restartedMain] ocalVariableTableParameterNameDiscoverer : Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: run.halo.app.extension.ReactiveExtensionClientImpl
2022-12-05T11:22:06.510+08:00  WARN 25032 --- [  restartedMain] ocalVariableTableParameterNameDiscoverer : Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: run.halo.app.extension.store.ReactiveExtensionStoreClientImpl
2022-12-05T11:22:06.857+08:00  INFO 25032 --- [  restartedMain] o.s.b.d.a.OptionalLiveReloadServer       : LiveReload server is running on port 35729
2022-12-05T11:22:06.958+08:00  WARN 25032 --- [  restartedMain] ocalVariableTableParameterNameDiscoverer : Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: run.halo.app.extension.store.ExtensionStoreRepository
2022-12-05T11:22:07.001+08:00  WARN 25032 --- [  restartedMain] ocalVariableTableParameterNameDiscoverer : Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: run.halo.app.extension.JSONExtensionConverter
2022-12-05T11:22:07.001+08:00  WARN 25032 --- [  restartedMain] ocalVariableTableParameterNameDiscoverer : Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: run.halo.app.config.ExtensionConfiguration
2022-12-05T11:22:07.025+08:00  WARN 25032 --- [  restartedMain] ocalVariableTableParameterNameDiscoverer : Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: run.halo.app.plugin.ExtensionComponentsFinder
2022-12-05T11:22:07.239+08:00  INFO 25032 --- [  restartedMain] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 13 endpoint(s) beneath base path '/actuator'

Additional information

/kind improvement
/area core

@f2c-ci-robot f2c-ci-robot bot added kind/improvement Categorizes issue or PR as related to a improvement. area/core Issues or PRs related to the Halo Core labels Dec 5, 2022
@JohnNiang
Copy link
Member Author

The issue has been fixed by spring-projects/spring-framework@cbf25b7.

/close

Copy link

f2c-ci-robot bot commented Mar 12, 2024

@JohnNiang: Closing this issue.

In response to this:

The issue has been fixed by spring-projects/spring-framework@cbf25b7.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@f2c-ci-robot f2c-ci-robot bot closed this as completed Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/core Issues or PRs related to the Halo Core kind/improvement Categorizes issue or PR as related to a improvement.
Projects
None yet
Development

No branches or pull requests

1 participant