-
Notifications
You must be signed in to change notification settings - Fork 1k
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
SpringBoot3.2项目中@Cached注解key属性不支持参数名 #854
Comments
linhuzhao
changed the title
SpringBoot3.0项目中@Cached注解key属性不支持参数名
SpringBoot3.2项目中@Cached注解key属性不支持参数名
Jan 19, 2024
是不是javac没有设置-parameter参数 |
是的,已解决,感谢 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
依赖JetCache版本为2.7.4
SpringBoot2.7支持如下key属性设置为变量名,升级至Spring Boot3.2.1之后不支持设置为变量名,只能使用“args[0]”,不知道是什么原因?
@cached(name = "mycache:", key = "#code”)
public UrlMapDTO (String code)
The text was updated successfully, but these errors were encountered: