Intelij says : Checks if Spring MVC View references are resolved correctly
Answered
Hello!
I learn some study Spring MVC project but Intelij says : Checks if Spring MVC View references are resolved correctly.
It seems java code can't see jsp file placed in webapp although the correct path is described in WebMvcConfigurer and Spring facets are configured too.

The version of Intelij is 2017.3 Ultimate Edition. Pls give advice where to dig?
Thanks!
Please sign in to leave a comment.
Hello,
Have you tried the latest one (2018.3)? Is it possible to share your project for investigation?
Hello! Thanks for replay.
Yes, i downloaded 2018.3 but same situation.
Link for project https://drive.google.com/open?id=1_D2dSUJM9W5vGdFIp7ZIW3RTwXDY651Y
I changed urlPath in addViewController from "/login" to "/" . The App opens login.jsp page now. But "login" in setViewName("login") is still underlined.
We do not parse .prefix()/.suffix() calls yet: https://youtrack.jetbrains.com/issue/IDEA-186130
If you replace
with passing arguments directly in jsp() call it works:
Yes, it worked! Thanks!
You are welcome!