Your Internet Explorer version is not compatible with our shopping cart system. Please use version 9 or higher to avoid problems with your order(s). Close
I am working on a large JSP/Servlet development and the compile is requiring me to add 2 jar files. However if I deploy those jar files to the Tomcat 5.5 server it is causing errors. So my question is there a way to include a jar file for compilation but prevent the deployer from copying it to the WEB-INF/lib? I cannot just say I will manage them because there are many jar I need deployed. Any help would be appreciated.
wlolinger,
Are there any JARs in your build path that are external to your project that you need deployed? If not, then just add the 2 JARs (likely servlet-api.jar and jsp-api.jar I’m guessing) to your build path, and edit your deployment options to turn OFF the feature of deploying external JARs on your build path.
Yes I read the suggestion I have many jar files on the build path that need to be distributed with the application. I would like to have those deployed to the WEB-INF\lib for me. Is there a way to include a jar for compile purposes only and not copy it to the WEB-INF\lib forder during deployment.
I am double checking myself here with someone internal, but I believe the workaround would to create 1 or more User Libraries out of the JARs you *do* want deployed, add them to your build path, turn ON the feature to deploy user libraries and turn OFF the feature to deploy external JARs.