You should put your application jar files in the following path: WebAppContextRoot/WEB-INF/lib (In tomcat, WebAppContextRoot is your web application folder under webapp folder).
You should put any config file in classpath, if & only if, that config file is read via ClassLoader and not via file system.