Topic
  • 1 reply
  • Latest Post - ‏2013-12-13T22:34:34Z by AlexMulholland
DesK
DesK
4 Posts

Pinned topic handlers chain: WebApplicationException (415 - Unsupported Media Type)

‏2013-12-11T15:26:46Z | 8.5.5.1 application server websphere

I'm hitting an WebApplicationException when I add Apache Wink to my dependencies:

[11/12/13 15:10:01:205 GMT] 00000027 org.apache.wink.server.internal.RequestProcessor             I The following error occurred during the invocation of the handlers chain: WebApplicationException (415 - Unsupported Media Type) with message 'null' while processing POST request sent to http://1.2.3.4.5:9080/foo

 

        <dependency>
            <groupId>org.apache.wink</groupId>
            <artifactId>wink-server</artifactId>
            <version>1.4</version>
        </dependency>

 

I tried add the following to the server.xml but I still get this exception

    <application
     location="${server.config.dir}/dropins/my-war-SNAPSHOT.war"
     id="mywar" name="mywar" type="war">
     <classloader apiTypeVisibility="spec,ibm-api,api,third-party"/>
    </application>