samedi 14 mars 2015

importing spring jars in eclipse

I am importing spring jars in a dynamic web project in eclipse. I have downloaded the jars added to class path but I am getting :



The import org.springframework.web.servlet.ModelAndView cannot be resolved


ModelAndView.class is present in package org.springframework.web.servlet


Packages are resolved in java file but not the classes :


enter image description here


Under servlet package there are some java classes but they are not visible from java file only packages are visible.


If i try this on other jar it shows java classes and packages :


enter image description here


Aucun commentaire:

Enregistrer un commentaire