java: java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.javac.tree.JCTree qualid'

已完成

评论

4 条评论

  • DJI Developer Support
    Could you provide more error information as I didn't see any content related to the SDK from the information you provided?
    0
    评论操作 固定链接
  • marderary

    It is my config,works fine below

     

    0
    评论操作 固定链接
  • Harley lumagui

    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

    0
    评论操作 固定链接
  • DJI Developer Support
    The error message indicates that you have passed a string type of data to local-port that requires an Integer data type. The message "Please enter the local port" seems to be a hint rather than the actual value of the port. This issue is likely caused by your code rather than MSDK.
    0
    评论操作 固定链接

请先登录再写评论。