Updating Tomcat LIb Folder

限于喜欢 提交于 2019-12-08 00:57:32

问题


i have an application developed by using Jersey Plugin and deployed on Tomact 7 . i have to export all the jars used in the project to the lib/ folder of Tomact .. but i dont want to.. is it possible to deploy my app without exporting jars to Tomcat lib folder . If Yes , then How ?

https://t1.ap01.aws.af.cm/rest/person

this is my app link and it gives following error if lib/ are not exported:

HTTP Status 404 - Servlet Jersey REST Service is not available

type Status report

message Servlet Jersey REST Service is not available

description The requested resource (Servlet Jersey REST Service is not available) is not available.

Apache Tomcat/6.0.35

回答1:


You always need the required jars in the lib folder, whether you package them up using ant or Maven - you always need the jars in the lib folder. The error you are seeing there is the application cannot find the Jersey jars.

The jars should be part of the war when it gets built.



来源:https://stackoverflow.com/questions/13647991/updating-tomcat-lib-folder

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!