I’m using Grails in STS Spring, and according to the Xuggler docs I need to put the xuggler.jar file into tomcat’s shared/lib dir.
Where is that directory for the run-app tomcat server in Grails/STS Spring?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You don’t. Configuring the server or configuring Tomcat, is a separate activity from building and deploying your app. Tomcat is a container (web server) which can have many apps in it.
You only need to install the JAR in Tomcat’s lib directory once, but you will build and redeploy your app to the server many, many times. If you want to include a JAR in your app (not in Tomcat) then you would do that in BuildConfig.groovy in grails-app/conf. But those jars get included in your application’s WAR file, they do not go in Tomcat’s lib directory.