Remove deprecation warning for javax.ws.rs.core.Application when deploying app

Warning message obtained is:
11:10:11,258 WARNING [org.jboss.resteasy.plugins.server.servlet.ConfigurationBootstrap] (MSC service thread 1-2) The use of javax.ws.rs.core.Application is deprecated, please use javax.ws.rs.Application as a context-param instead