Today, one of the items in the MyEclipse in another machine is taken to the Java EE above my machine to continue.
After a good project was imported, two errors were reported.
1 · The Improt Javax.servlet cannot be resolved
2 ' Can not find ' the tag Library descriptor for ' Http://java.sun.com/jsp/jstl/core '
The first error is appearing in my Java file
The second error is appearing in my JSP file.
The first thing you can tell you is that both errors are due to the fact that you did not import the appropriate jar file.
Well, the reason theimprot javax.sErvlet cannot be resolved is the lack of server-running environment
The solution is:
In Eclipse, select your project, right-click on build path, and choose Configure Build Path,
Then select libraries on the right, select Add External JARs, and then find the installation path for Tomcat in your computer, select "Servlet-api.jar" under the Common\lib folder, and add click OK.
(Of course, if your machine doesn't have Tomcat, I think you know what to do)
-------------------------------------------------------------------
Then Can not find the tag Library descriptor for "Http://java.sun.com/jsp/jstl/core" solution is:
In Eclipse, select your project, right-click on build path, and choose Configure Build Path,
Then select libraries on the right, select Add External JARs, and then find the "Jstl-1.2.jar" in your computer and click OK.
Download address for this jar package: http://download.csdn.net/download/csdn_yudong/9279459
-------------------------------------------------------------------------
My site: https://neveryu.github.io/guestbook/
Github: Https://github.com/Neveryu
Sina Micro Blog: Http://weibo.com/Neveryu
More resources Please dms my Sina Weibo ...