1: Java. Lang. noclassdeffounderror: javax/servlet/JSP/jstl/FMT/localizationcontext
Download jstl. Jar
2: Java. Lang. classnotfoundexception: org. Apache. taglibs. Standard. TLV. jstlcoretlv
The reason is that jstl still needs the standard. jar package. Just add it.
3: The requested resource (/WEB-INF/View/loginfail. jsp) is not available. The directory has a more view, Java File Access JSP must also be in the Web-INF directory? And other solutions
The reason is that prefix is defined
<Bean id = "viewresolver" class = "org. springframework. Web. servlet. View. internalresourceviewresolver">
<Property name = "viewclass">
<Value> org. springframework. Web. servlet. View. jstlview </value>
</Property>
<Property name = "prefix">
<Value>/WEB-INF/View/</value> to <value>/</value>, in fact, there are two more Directories
</Property>
<Property name = "suffix">
<Value>. jsp </value>
</Property>
</Bean>
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service