[
https://issues.apache.org/jira/browse/STANBOL-231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13052125#comment-13052125
]
Rupert Westenthaler commented on STANBOL-231:
---------------------------------------------
This was caused by me while upgrading from jersey 1.2 to 1.7. At that time I
was not able to test compatibility with KRES because I was not able to build
because of STANBOL-225. When applying this patch one should also check to
replace any dependencies on
<dependency>
<groupId>javax.ws.rs</groupId>
<artifactId>jsr311-api</artifactId>
</dependency>
to
<dependency>
<groupId>com.sun.jersey</groupId>
<artifactId>jersey-core</artifactId>
</dependency>
because newer versions of jersey export the "jsr311-api" what can cause
incompatibilities.
Thx Alberto Musetti for the patch and sorry for breaking this.
I can apply this patch, but I would prefer if someone with more knowledge of
the KRES component could do it.
best
Rupert
> Broken jersey services with MediaType.MULTIPART_FORM_DATA on /rules/web,
> /reengieneer/web and /reasoners/web
> ------------------------------------------------------------------------------------------------------------
>
> Key: STANBOL-231
> URL: https://issues.apache.org/jira/browse/STANBOL-231
> Project: Stanbol
> Issue Type: Bug
> Components: KReS
> Reporter: Enrico Daga
> Priority: Blocker
> Attachments: multipartFormData.patch
>
>
> Even if compiling correctly, the services do not start with the kres launcher.
> Fragment output is:
> INFO: Initiating Jersey application, version 'Jersey: 1.7 05/20/2011 11:04 AM'
> Jun 20, 2011 3:44:14 PM
> com.sun.jersey.server.impl.model.method.dispatch.MultipartFormDispatchProvider
> getInjectables
> SEVERE: Resource methods utilizing @FormParam and consuming
> "multipart/form-data" are no longer supported. See @FormDataParam.
> Jun 20, 2011 3:44:14 PM
> com.sun.jersey.server.impl.model.method.dispatch.MultipartFormDispatchProvider
> getInjectables
> SEVERE: Resource methods utilizing @FormParam and consuming
> "multipart/form-data" are no longer supported. See @FormDataParam.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira