- This topic has 3 replies, 3 voices, and was last updated 20 years ago by Sunder *.
-
AuthorPosts
-
luns4dMember– System Setup ——————————-
Operating System and version: Windows 200 Professional
Eclipse version: 2.1.1
Eclipse build id: 200306271545
Fresh Eclipse install (y/n): n?? Initial install, long ago upgrade mgr NOT used
If not, was it upgraded to its current version using the update manager?
Other installed external plugins:
Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*: 6
MyEclipse version: 2.6.100
Eclipse JDK version: 1.4.1
Application Server JDK version: Tomcat 5.0.16
Are there any exceptions in the Eclipse log file? Don’t know where it is.– Message Body ——————————-
About 1/3 of the time, my JSP files get the following error:HttpServletRequest cannot be resolved (or is not a valid type)…
HttpSerletResponse cannot be resolved (or is not a valid type)…
HttpSession cannot be resolved or is not a type
javax.servlet cannot be resolved or is not avalid superclass
JspFactory cannot be resolved
…I resolve the issue now by doing some combination of (a single process does not always do the trick):
– Stop the application Server
– Clicking options: Windows – Preferences – MyEclipse – Application Servers – Tomcat 5
– Then I click on each subsection and re-Apply each screen. Sometimes, the JDK I have set is gone and I have to re-Add the JDK definition.
– Re-Save the JSP file with the error
– Sometimes restart Eclipse
– Repeat the process until resolved.Sometimes the error occurs when I first start and save, sometimes it doesn’t happen until after several hours of work.
What should I do so that I do not get this error message symptom?
Scott AndersonParticipantLuns,
This could be due to bugs in the 2.x version of the product. You’ll probably have much better results from installing Eclipse 3.0.1 and MyEclipse 3.8.2, if you’re able to. If you do that, please don’t try to upgrade your existing installation. Instead, just install fresh copies of the 3.x products somewhere else on your machine. Then, make a copy of your project and import it into the version 3.x workspace and see if that behaves better for you. This way, if you decide to move over to 3.x, it’s easy to do so, and if you need to keep your 2.x environment, it hasn’t been modified.
luns4dMemberThanks – I’ll give it a try.
Sunder *MemberRunning:
Tomcat: 5.0.28
IDE: Eclipse 3.0.1 and Workbench 3.8.2
I am also facing the same problem. Initially I installed plain eclipse 3.0.1 and was trying to resolve this for few hours. Then, I ran a google search and came through myecplise forum and installed workbench and configured the appserver, stop and restarted both ide and tomcat 5 app server. But still it is unable to resolve it. Anybody with ideas on how to resolve this.
Appreciate it once again for all responses.
Thanks,
Sunder -
AuthorPosts