java - RestEasy 2.3.5 Client Issue -
i new rest easy.
i have added resteasy grails project. had crawler library working. getting below exception , not sure jars etc conflicting or root cause. using jdk 1.7
since getting on below line of code (while getting instance) thinking jar conflict issue
resteasyproviderfactory.getinstance() | error caused by: java.lang.runtimeexception: unable instantiate messagebodywriter | error @ org.jboss.resteasy.spi.resteasyproviderfactory.registerprovider(resteasyproviderfactory.java:849) | error @ org.jboss.resteasy.plugins.providers.registerbuiltin.registerproviders(registerbuiltin.java:70) | error @ org.jboss.resteasy.plugins.providers.registerbuiltin.register(registerbuiltin.java:31) | error ... 13 more | error caused by: java.lang.classcastexception: com.sun.proxy.$proxy28 cannot cast javax.ws.rs.produces | error @ org.jboss.resteasy.spi.resteasyproviderfactory.addmessagebodywriter(resteasyproviderfactory.java:566) | error @ org.jboss.resteasy.spi.resteasyproviderfactory.addmessagebodywriter(resteasyproviderfactory.java:536) | error @ org.jboss.resteasy.spi.resteasyproviderfactory.registerprovider(resteasyproviderfactory.java:845) | error ... 15 more
apart grails configured plugin , jars have below jars in path
activation.jar apache-mime4j-benchmark-0.7.2.jar apache-mime4j-core-0.7.2.jar apache-mime4j-dom-0.7.2.jar apache-mime4j-examples-0.7.2.jar apache-mime4j-storage-0.7.2.jar asm-3.1.jar attributes.jar boilerpipe-1.1.0.jar commons-beanutils-1.8.3.jar commons-codec-1.6.jar commons-compress-1.3.jar commons-io-2.1.jar commons-logging-1.1.1.jar commons-net-3.2.jar crawler4j-3.5.jar ebaycalls.jar ebaysdkcore.jar fastinfoset.jar geronimo-stax-api_1.0_spec-1.0.1.jar helper.jar http.jar httpclient-4.2.3.jar httpcore-4.2.2.jar httpmime-4.2.3.jar jackson-core-asl-1.9.9.jar jackson-jaxrs-1.9.9.jar jackson-mapper-asl-1.9.9.jar jackson-xc-1.9.9.jar jakarta-oro-2.0.8.jar jaxb-api.jar jaxb-impl.jar jaxb-xjc.jar jaxrs-api-2.3.5.final.jar jaxws-api.jar jaxws-rt.jar jaxws-tools.jar je-4.0.92.jar jsoup-1.7.1.jar jsr173_api.jar jsr181-api.jar jsr250-api.jar list log4j-1.2.16.jar metadata-extractor-2.4.0-beta-1.jar mimepull.jar opencsv-2.3.jar resolver.jar resteasy-atom-provider-2.3.5.final.jar resteasy-cache-core-2.3.5.final.jar resteasy-cdi-2.3.5.final.jar resteasy-crypto-2.3.5.final.jar resteasy-fastinfoset-provider-2.3.5.final.jar resteasy-guice-2.3.5.final.jar resteasy-jackson-provider-2.3.5.final.jar resteasy-jaxb-provider-2.3.5.final.jar resteasy-jaxrs-2.3.5.final.jar resteasy-jettison-provider-2.3.5.final.jar resteasy-jsapi-2.3.5.final.jar resteasy-links-2.3.5.final.jar resteasy-multipart-provider-2.3.5.final.jar resteasy-oauth-2.3.5.final.jar resteasy-spring-2.3.5.final.jar resteasy-yaml-provider-2.3.5.final.jar saaj-api.jar saaj-impl.jar serializer.jar sjsxp.jar solr-core-4.2.0.jar solr-solrj-4.2.0.jar stax-ex.jar streambuffer.jar tagsoup-1.2.1.jar tika-app-1.2.jar tika-bundle-1.2.jar xalan.jar
Comments
Post a Comment