Can IntelliJ Idea be made to understand JSTL? 关注
I was very surprised to discover that IDEA does not understand JSTL by default. For example, when I tried the snippet below... it gave me a Duplicate id reference on the Spring MVC path value.
Is there a way to make IDEA understand that only one of those two instances is being used so that it does not flag it as an error?
<form:input type="time" step="60" path="job.schedStartTime.HTML5Time" />
<form:input type="time" step="60" path="job.schedStartTime.HTML5Time" readonly="true"/>
Unfortunately, this is a known issue: https://youtrack.jetbrains.com/issue/IDEA-91453/Incorrect-Duplicate-id-reference-error-in-JSP
Please vote for it. See https://intellij-support.jetbrains.com/hc/en-us/articles/207241135-How-to-follow-YouTrack-issues-and-receive-notifications if you are not familiar with our issue tracker.