java - javax.servlet.ServletException: Filter [jersey]: could not be initialized Websphere Liberty -
i trying run web application on websphere liberty , following error:
[error ] srve0315e: exception occurred: java.lang.throwable: javax.servlet.servletexception: filter [jersey]: not initialized @ com.ibm.ws.webcontainer.webapp.webapp.handlerequest(webapp.java:4913) @ [internal classes] caused by: javax.servlet.servletexception: filter [jersey]: not initialized @ com.ibm.ws.webcontainer.filter.filterinstancewrapper.init(filterinstancewrapper.java:163) ... 1 more caused by: com.sun.jersey.core.spi.scanning.scannerexception: uri scheme wsjar of uri wsjar:file:/opt/wlp/usr/servers/defaultserver/apps/expanded/eureka.war/web-inf/lib/jersey-servlet-1.11.jar!/com/sun/jersey not supported. package scanning deployment not supported such uris. try using different deployment mechanism such explicitly declaring root resource , provider classes using extension of javax.ws.rs.core.application @ com.sun.jersey.core.spi.scanning.packagenamesscanner.scan(packagenamesscanner.java:225) @ com.sun.jersey.core.spi.scanning.packagenamesscanner.scan(packagenamesscanner.java:139) @ com.sun.jersey.api.core.scanningresourceconfig.init(scanningresourceconfig.java:80) @ com.sun.jersey.api.core.packagesresourceconfig.init(packagesresourceconfig.java:104) @ com.sun.jersey.api.core.packagesresourceconfig.<init>(packagesresourceconfig.java:78) @ com.sun.jersey.api.core.packagesresourceconfig.<init>(packagesresourceconfig.java:89) @ com.sun.jersey.spi.container.servlet.webcomponent.createresourceconfig(webcomponent.java:700) @ com.sun.jersey.spi.container.servlet.webcomponent.createresourceconfig(webcomponent.java:678) @ com.sun.jersey.spi.container.servlet.webcomponent.init(webcomponent.java:203) @ com.sun.jersey.spi.container.servlet.servletcontainer.init(servletcontainer.java:373) @ com.sun.jersey.spi.container.servlet.servletcontainer.init(servletcontainer.java:719) @ com.ibm.ws.webcontainer.filter.filterinstancewrapper.init(filterinstancewrapper.java:149) ... 1 more
i using websphere liberty 8.5.5.9.
Comments
Post a Comment