On 17/03/2015 16:45, Pilkington, Simon wrote: > Hey tomcat users, > > The javadoc for WebappLoader still tells me to use addRepository(), but that > method no longer exists. My team has implemented an extension of WebappLoader > that looked like this:
<snip/> > addRepository(file.toURI().toString()); <snip/> > Can the community help me figure out how to upgrade this for tomcat 8? Look at the new resources implementation [1]. You probably want to use org.apache.catalina.webresources.FileResourceSet with an webappMount of "/WEB-INF/lib/name-of-jar.jar" Mark [1] http://tomcat.apache.org/tomcat-8.0-doc/config/resources.html --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org