0

I working on one spring mvc project and used the methods of other spring project. example :

one project "DependencyCheck" and second project is of spring mvc named "SpringExplore".

I have added the first project i.e DependencyCheck in build path and used it method in home controller that is the part of second project named "SpringExplore" .but it throws exception. Please find the snapshot

enter image description here

and exception thrown :

enter image description here

Note:[i am working with STS(spring tool suite)].Please let me know the solution.

Avyaan
  • 1,285
  • 6
  • 20
  • 47
  • Are you sure the JAR is presented in the generated WAR ? – ArunM May 31 '15 at 08:01
  • I am running it with sts. and if class not found is there it means at run time class is not available.so this is my question whether it is possible or not. – Avyaan May 31 '15 at 09:06
  • I suspect what is happening is Since you have a POM when the application is being generated STS might be building based only on the POM. Check this question if it helps, though this is eclipse specific. http://stackoverflow.com/questions/7005644/classnotfoundexception-when-using-user-libraries-in-eclipse-build-path – ArunM May 31 '15 at 09:32

0 Answers0