How do you correctly set up your servlet.xml so that the view resolver is detected by Intellij?
in web.xml i have a DispatcherServlet configured named 'spring' that is configured with the config file spring-servlet.xml
in spring-servlet.xml there is the following
<context:component-scan base-package="my package"/>
<bean id="internalResourceViewResolver" >
<property name="viewClass" value="org.springframework.web.servlet.view.JstlView"/>
<property name="prefix" value="/WEB-INF/htm/"/>
<property name="suffix" value=".jsp"/>
Intellij detects that my controller is configured by that component scan, but does not see the view resolver so all of my ' new ModelAndView("foo")' show the message 'No view resolvers found.
Are there any special requirements to configuring the view resolver to cause it to be detected by Intellij?