Before deploying an JAX-RS 2.0 application into WLS 12.1.3 you need to install (deploy) the JAX-RS 2.0 shared
library that provides necessary dependencies and configuration. This library is located at
MW_HOME\wlserver\common\deployable-libraries\jax-rs-2.0.war.
There are two ways, how you can deploy this library:
http://<host>:<port>/console (e.g. http://localhost:7001/console)MW_HOME\wlserver\common\deployable-libraries\jax-rs-2.0.war)Lets assume that WLS is running and your domain is located in MW_HOME (MW_HOME\domain).
Setup your shell and enter the WLST console:
> # bash prompt > cd $MW_HOME\domain > . ./bin/setDomainEnv.sh > java weblogic.WLST
Deploy the library:
> # WLST console
> connect('user', 'pass', 'host')
> deploy('jax-rs', '../wlserver/common/deployable-libraries/jax-rs-2.0.war', libraryModule='true')
> exit()