Oct 30, 2017

How to slove: Exception "Provider org.glassfish.json.JsonProviderImpl not found"

Use
<dependency>  
            <groupId>org.glassfish</groupId>
            <artifactId>javax.json</artifactId>
            <version>1.0.4</version>
            <type>jar</type>
</dependency>
instead of
<dependency>
            <groupId>javax</groupId>
            <artifactId>javaee-web-api</artifactId>
            <version>7.0</version>
            <type>jar</type>
</dependency>
The former contains the impl classes. The later one only contains API interface.