i developing app jax-rs. app running fine on local liberty 8.5 server. fails when package , push server bluemix. when try access method error:
"networkerror: 415 unsupported media type"
the system cannot find method in class consumes null media type.
my web.xml looks following:
<!-- enable features --> <featuremanager> <feature>jsp-2.2</feature> <feature>localconnector-1.0</feature> <feature>jdbc-4.0</feature> <feature>cdi-1.0</feature> <feature>json-1.0</feature> <feature>jaxrs-1.1</feature> <feature>jpa-2.0</feature> </featuremanager> i searched lot. had same question said it's problem jaxrs-1.1 should updated jaxrs-2.0, don't know how update it. it's default in liberty 8.5 server.
can me? it's first time ask in stackover
sorry, i'm not @ english.
somebody had same question said it's problem jaxrs-1.1 should updated jaxrs-2.0, don't know how update it. it's default in liberty 8.5 server.
i hope useful you.
using jax-rs 2 client api in liberty , bluemix removing jax-rs feature websphere application server 8.5
Comments
Post a Comment