Eclipse: cannot be resolved to a type
Thursday, September 10th, 2009“…cannot be resolved to a type”
Resolution:
Simply Refresh eclipse
From: http://philip.yurchuk.com/2008/12/03/eclipse-cannot-be-resolved-to-a-type-error/comment-page-1/#comment-915
“…cannot be resolved to a type”
Resolution:
Simply Refresh eclipse
From: http://philip.yurchuk.com/2008/12/03/eclipse-cannot-be-resolved-to-a-type-error/comment-page-1/#comment-915
The type javax.servlet.http.HttpServletRequest cannot be resolved. It is indirectly referenced from required .class files ServletRequestContext.java /epm/src/org/apache/commons/fileupload/servlet
Resolution:
In Tomcat 5 this file is servlet-api.jar in the common/lib dir. You likely need to add this as an external JAR via the Project Properties > Java Build Path > Libraries > Add External… button.
From: http://www.myeclipseide.com/PNphpBB2+file-printview-t-3632-start-0.html
Initial setup for XAMPP Virtualhost gives this error:
“Access forbidden!
You don’t have permission to access the requested directory. There is either no index document or the directory is read-protected.
If you think this is a server error, please contact the webmaster. …”
To solve this:
- on \xampp\apache\conf\httpd.conf, modify:
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
to:
<Directory />
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>