user1866712
user1866712

Reputation:

Updating Tomcat LIb Folder

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

Upvotes: 2

Views: 660

Answers (1)

David
David

Reputation: 20063

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.

Upvotes: 1

Related Questions