How to slove: Exception "Provider org.glassfish.json.JsonProviderImpl not found"
Use
<dependency>instead of
<groupId>org.glassfish</groupId>
<artifactId>javax.json</artifactId>
<version>1.0.4</version>
<type>jar</type>
</dependency>
<dependency>The former contains the impl classes. The later one only contains API interface.
<groupId>javax</groupId>
<artifactId>javaee-web-api</artifactId>
<version>7.0</version>
<type>jar</type>
</dependency>
Comments
Post a Comment