Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Object cannot be resolved to a type in JSP

  1. #1
    Junior Member
    Join Date
    Sep 2014
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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.
    Thanks & Regards


  2. #2
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,517
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: Object cannot be resolved to a type in JSP

    Have you installed the JDK and properly configured the CLASSPATH?

Similar Threads

  1. How to difine type each object is in a ArrayList
    By vector_ever in forum What's Wrong With My Code?
    Replies: 1
    Last Post: July 23rd, 2013, 08:24 AM
  2. Getting error as "cannot be resolved to a type"
    By Prince76 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: April 7th, 2013, 07:18 AM
  3. Error message "Type result cannot be resolved or is not a field"
    By asreall in forum What's Wrong With My Code?
    Replies: 1
    Last Post: December 28th, 2012, 08:40 AM
  4. how to compare 2 different type object list
    By enginco in forum Collections and Generics
    Replies: 3
    Last Post: April 3rd, 2012, 03:45 PM
  5. cannot be resolved to a type
    By Teraphim in forum What's Wrong With My Code?
    Replies: 1
    Last Post: February 16th, 2010, 10:42 AM