When I run a Json test program with jdk 7, it says :
Exception in thread \"main\" javax.json.JsonException: Provider org.glassfish.json.JsonProviderImpl not fou
javax.json-api-1.0.jar
contains only API which is there for compile time dependency. But if you want to run your app, you need a provider / impl
classes.
org.glassfish:javax.json
is the jar you need that contains both api
+ impl
classes.
<dependency>
<groupId>org.glassfish</groupId>
<artifactId>javax.json</artifactId>
<version>1.0.4</version>
</dependency>
See this thread for more details.