tomcat - ClassNotFoundException in spring project with maven -


i have created spring project maven , works fine. trying add jar file project, eclipse not give errors when start server , try access page uses class jar file classnotfound exception.

my steps are..

1 - put jar file in src->main->resources 2 - added build path right clicking , saying add build path. 3 - add project tomcat , start server 

the thing looked @ tomcat deployment directory , .jar file appears in classes directory. when take copy file classes lib (which has libraries downloaded maven) project works fine.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

.htaccess - ERR_TOO_MANY_REDIRECTS htaccess -