The page can't be visited and showed following error message:
java.lang.NoSuchFieldError: ASYNC
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:505)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:233)
This is part of the error message in the page.
As my experience, this error is caused by the wrong reference using JSTL. Say I set a User
in Controller
. If I want to show the user name, I use <c:out value="${user.name}"/>
. But if I use <c:out value="${user.namee}"/>
, this error will occur.
So I wonder if I have lots of objects set in Controller
, and have the message of these objects shown on page. How can I locate which one causes the error?