Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Object cannot be resolved to a type in JSP
Object cannot be resolved to a type in JSP [message #1416237] Thu, 04 September 2014 16:41 Go to next message
Archana AcharyaFriend
Messages: 3
Registered: September 2014
Junior Member
Hi All,

I have imported an existing project to eclipse and there are lots of "cannot be resolved to a type" in the JSPs. The object references exists in the included file of in the global reference. How do I resolve these errors.
Some of the examples of these error are:
- Iterator cannot be resolved to a type
- ArrayList cannot be resolved to a type
- List cannot be resolved to a type
- Collection is a raw type. References to generic type Collection<E> should be parameterized.

I know the imports already exists in parent page, included page or in global reference. But some how eclipse is not able to resolve these reference.

The environment details are as follows:
Java 6
Eclipse Luna
WTP 2.5
Weblogic 10.3.6

Thank you so much in advance for your help.


Thanks & Regards
Re: Object cannot be resolved to a type in JSP [message #1417186 is a reply to message #1416237] Thu, 04 September 2014 22:11 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 3279
Registered: July 2009
Senior Member

Sounds partly like the limitation that enhancement request 155664 wants to resolve...somehow. I can't tell where your page directives with import statements are given they way the question was worded.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=155664


Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Object cannot be resolved to a type in JSP [message #1417193 is a reply to message #1417186] Thu, 04 September 2014 22:31 Go to previous message
Archana AcharyaFriend
Messages: 3
Registered: September 2014
Junior Member
The import statements exists in the a global file which is included in the JSP though <%@ include file="" %>

Thanks & Regards
Previous Topic:Mark occurrences for JSP and Scriplets is not working
Next Topic:WTP 3.4.1 xinclude support on mac osx?
Goto Forum:
  


Current Time: Tue Oct 23 04:48:48 GMT 2018

Powered by FUDForum. Page generated in 0.02712 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top