I'm studying JSTL
. I'm following a simple example found on the internet. I created a Class that extended SimpleTagSupport
. But i get this error
SimpleTagSupport cannot be resolved to a type
I have Tomcat 7
, Java 1.7
System Library and i added as external jars 'servlet-api.jar'
What did i miss? Thank you
For anyone else that find this question, another possible problem is caused by your eclipse .classpath file. I needed to change this:
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.launching.macosx.MacOSXType/Java SE 7 [1.7.0_51]">
<attributes>
<attribute name="owner.project.facets" value="java"/>
</attributes>
</classpathentry>
to this:
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.