The Artima Developer Community
Sponsored Link

Java Answers Forum
Java resolve symbol error

1 reply on 1 page. Most recent reply: Mar 14, 2003 11:32 AM by Matt Gerrans

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
craig thomas

Posts: 1
Nickname: craig1983
Registered: Mar, 2003

Java resolve symbol error Posted: Mar 13, 2003 9:56 PM
Reply to this message Reply
Advertisement
Hi, I am getting the following 2 errors when using the following piece of code in 1 of my class files.

Impl.java:24: cannot resolve symbol
symbol : class Data
location: class TextHandlerImpl
Data[] items = new Data[MAX];
^
Impl.java:24: cannot resolve symbol
symbol : class Data
location: class TextHandlerImpl
Data[] items = new Data[MAX];
^
and my code here is


public String[] getTextLines(File file)
{
final int MAX = 100;
Data[] items = new Data[MAX];
StringTokenizer tokenizer;
String line, name;

many thanks Craig


Matt Gerrans

Posts: 1153
Nickname: matt
Registered: Feb, 2002

Re: Java resolve symbol error Posted: Mar 14, 2003 11:32 AM
Reply to this message Reply
Looks like there is no Data.class in your classpath.

Flat View: This topic has 1 reply on 1 page
Topic: Linux class path Previous Topic   Next Topic Topic: binary ---> decimal

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use