Type `List' not found - Any Suggestions?

Write here if you have problems with your Java source code

Moderator: Board moderators

Post Reply
The_Spide
New poster
Posts: 1
Joined: Tue Jan 22, 2002 2:00 am

Post by The_Spide » Tue Jan 22, 2002 7:40 am

Any Suggestions for fixing this? It compiles with javac on my computer without any problems.

(one of 6 errors all the same)
00715045_24.java:56: Type `List' not found in the declaration of the local variable `results'.
List results = new ArrayList();
^

The_Spide

david_ciang
New poster
Posts: 4
Joined: Mon Nov 11, 2002 6:08 am
Location: Indonesia

Post by david_ciang » Mon Nov 11, 2002 8:27 am

Try using Vector instead.

Vector results = new Vector();
Best regards,

David

Post Reply

Return to “Java”