How to use the org.json Java library with Java 7

后端 未结 2 1291
走了就别回头了
走了就别回头了 2020-12-14 14:07

I need some simple JSON parsing in my application and the Douglas Crockford library seems exactly what I need.

However, I seem to be running into a problem. I\'m get

相关标签:
2条回答
  • 2020-12-14 14:53

    Since your are using JDK1.7, change to the older version will work!

    <groupId>org.json</groupId>
        <artifactId>json</artifactId>
        <version>20140107</version>
    </dependency>
    
    0 讨论(0)
  • 2020-12-14 15:00

    Have you tried using an older version of the package?

    Try: http://mvnrepository.com/artifact/org.json/json/20140107

    0 讨论(0)
提交回复
热议问题