you miss jsonp api jar

Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com>

2015-05-18 20:54 GMT+02:00 kirys.it <[email protected]>:

> On 05/18/2015 07:09 PM, Romain Manni-Bucau wrote:
>
>> Yes you can
>>
>> https://rmannibucau.wordpress.com/2014/12/02/apache-johnzon-more-configuration-and-tomee-integration/
>>
>>
> SEVERE: error invoking
> org.apache.tomee.webservices.TomeeJaxRsService@6a396c1e
> java.util.ServiceConfigurationError: javax.json.spi.JsonProvider: Provider
> org.apache.johnzon.core.JsonProviderImpl not a subtype
> johnzon 0.7-incubating
> it seems that in 2.0 il will be the new default provider so maybe i'm
> doing something wrong...
>
>     <Service id="johnzon"
> class-name="org.apache.johnzon.jaxrs.ConfigurableJohnzonProvider">
>         accessModeName = method
>         supportHiddenAccess = true
>         doCloseOnStreams = false
>         version = 2
>         skipNull = true
>         skipEmptyArray = true
>     </Service>
>
>     <pojo-deployment class-name="jaxrs-application">
>         <properties>
>             cxf.jaxrs.providers = johnzon
>
>             # this one is not mandatory but recommanded
>             cxf.jaxrs.skip-provider-scanning = true
>         </properties>
>     </pojo-deployment>
>
>
>         <dependency>
>         <groupId>org.apache.johnzon</groupId>
>         <artifactId>johnzon-core</artifactId>
>         <version>0.7-incubating</version>
>       </dependency>
>       <dependency>
>         <groupId>org.apache.johnzon</groupId>
>         <artifactId>johnzon-mapper</artifactId>
>         <version>0.7-incubating</version>
>       </dependency>
>       <dependency>
>         <groupId>org.apache.johnzon</groupId>
>         <artifactId>johnzon-jaxrs</artifactId>
>         <version>0.7-incubating</version>
>       </dependency>
>
>
>

Reply via email to