The method Getcontextpath () from the type HttpServletRequest
Source: Internet
Author: User
<span id="Label3"><p>In the Java Project development, JSP page can easily report this Error.</p><p>There are many reasons for errors, but they are all related to the Jre.</p><p>It is generally easy to report this error when importing a project, mainly because the JRE (jdk version is inconsistent).</p><p>Workaround: reconfigure the path to configure the JDK installed on your MACHINE.</p><p>1. Right-click the error item →build path→configure Build path→ under the Libraries option, you will find an error in the JRE Libraries, remove it.</p><p>2. Then right-click on the project →build path→add library, Select the JRE System library, Select Workspace defaulr JRE (jdk1.6) (previously The JDK was successfully installed and configured), then Finish</p><p>This way, the error message in the JSP page Disappears.</p><p></p><p>The method Getcontextpath () from the type HttpServletRequest</p></span>
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