Skip to main content



      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 12:41 Go to next message
Eclipse UserFriend
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.
Re: Object cannot be resolved to a type in JSP [message #1417186 is a reply to message #1416237] Thu, 04 September 2014 18:11 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: Object cannot be resolved to a type in JSP [message #1417193 is a reply to message #1417186] Thu, 04 September 2014 18:31 Go to previous message
Eclipse UserFriend
The import statements exists in the a global file which is included in the JSP though <%@ include file="" %>
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: Fri Jul 25 01:11:15 EDT 2025

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

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

Back to the top