Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2014
    Rep Power

    Default Object cannot be resolved to a type in JSP

    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.
    Last edited by archana.acharya; 09-04-2014 at 11:35 PM.

  2. #2
    RamyaSivakanth's Avatar
    RamyaSivakanth is offline Senior Member
    Join Date
    Apr 2009
    Rep Power

Similar Threads

  1. cannot be resolved to a type
    By johnmerlino in forum New To Java
    Replies: 4
    Last Post: 06-05-2014, 12:22 AM
  2. HttpServlet Cannot be resolved to a type
    By chizbox in forum Eclipse
    Replies: 3
    Last Post: 07-01-2012, 05:09 PM
  3. Cannot be resolved to a type
    By Naxix in forum AWT / Swing
    Replies: 1
    Last Post: 03-18-2012, 01:16 PM
  4. Filter cannot be resolved to a type??
    By Harrie_KalaChakra in forum Eclipse
    Replies: 1
    Last Post: 01-15-2010, 10:19 AM
  5. Replies: 1
    Last Post: 12-18-2007, 11:41 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts