-
Can't find class
Hi,
I have written a program called AudioConverter which calls Audio Common. Both files are in the same directory. But when I compile AudioConverter, it gives an error saying:
C:\apache-tomcat-6.0.14\apache-tomcat-6.0.14\webapps\ROOT\AudioConverter.java:220: cannot find symbol
symbol : variable AudioCommon
location: class audio.AudioConverter
AudioCommon.listSupportedTargetTypes();
Wat should I do?
-
Sounds like a classpath, package path problem. If the other class is in a package, adjust the classpath to point to the beginning of the package path.
Is AudioConverter in the audio package? Then it needs to be in a folder of that name vs ROOT
-
I guess it would be easy to figure out the issue if you can post the two package names of those two classes.
If those are in default (no) package, then I doubt that you haven't compiled the AudioCommon class?