java: java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.javac.tree.JCTree qualid'
已完成Hello Im getting error upon running the configuration file. I followed the documentation already.
"java: java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.javac.tree.JCTree qualid'"
-
I see, I have fixed this by setting the Java SDK Version to 17, currently my version is 22 so I installed the 17 version and then set it to my configuration and now the error I shared was gone. However I have a new error:
***************************
APPLICATION FAILED TO START
***************************
Description:
Failed to bind properties under 'livestream.url.gb28181.local-port' to java.lang.Integer:
Property: livestream.url.gb28181.local-port
Value: "Please enter the local port."
Origin: class path resource [application.yml] - 166:18
Reason: failed to convert java.lang.String to @javax.validation.constraints.NotNull java.lang.Integer (caused by java.lang.NumberFormatException: For input string: "Pleaseenterthelocalport.")
Action:
Update your application's configuration
Process finished with exit code 1
请先登录再写评论。
评论
4 条评论