美文网首页
2020-01-17

2020-01-17

作者: Depro | 来源:发表于2020-01-17 16:59 被阅读0次

    错误日志

    Description:

    An attempt was made to call a method that does not exist. The attempt was made from the following location:

        com.aliyuncs.regions.LocalEndpointResolver.<init>(LocalEndpointResolver.java:39)

    The following method did not exist:

        org.json.JSONArray.iterator()Ljava/util/Iterator;

    The method's class, org.json.JSONArray, is available from the following locations:

        jar:file:/C:/Users/fanpeng/.m2/repository/com/vaadin/external/google/android-json/0.0.20131108.vaadin1/android-json-0.0.20131108.vaadin1.jar!/org/json/JSONArray.class

        jar:file:/C:/Users/fanpeng/.m2/repository/org/json/json/20170516/json-20170516.jar!/org/json/JSONArray.class

    It was loaded from the following location:

        file:/C:/Users/fanpeng/.m2/repository/com/vaadin/external/google/android-json/0.0.20131108.vaadin1/android-json-0.0.20131108.vaadin1.jar

    解决:日志写的挺明确的It was loaded from the following location:,也就是冲突了,把android-json-0.0.20131108.vaadin1.jar去掉就可以了

    相关文章

      网友评论

          本文标题:2020-01-17

          本文链接:https://www.haomeiwen.com/subject/gwthzctx.html