servletContext not recognized in Spring XML
According to the comments that are part of the JavaDoc for ServletContextFactoryBean it is:
Deprecated. as of Spring 3.0, since "servletContext" is now available as a default bean in every WebApplicationContext
But when I use it in a Spring Context XML file, it's painted red and displays the error:
Cannot resolve bean servletContext
when hovered over. Any chance the inspection can be updated?
(*Chris*)
Please sign in to leave a comment.
Hello Chris,
what build are you using? This looks like http://youtrack.jetbrains.com/issue/IDEA-86227
I'm using 11.1.3. That problem definitely looks related, but the problem I'm seeing is in the Application Context XML file, not the Java Source. I suspect it's the same cause, but two different inspectors.
(*Chris*)
I see, could you please file a new issue? Thanks.
Done. IDEA-90590
(*Chris*)