Results 1 to 3 of 3
Thread: Can't find class
- 07-31-2008, 04:04 AM #1
Member
- Join Date
- Nov 2007
- Posts
- 19
- Rep Power
- 0
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?
- 07-31-2008, 05:02 AM #2
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
- 07-31-2008, 05:45 AM #3
Member
- Join Date
- Jul 2008
- Posts
- 19
- Rep Power
- 0
Similar Threads
-
Could not find main class - JDK 1.6
By Syranno in forum New To JavaReplies: 1Last Post: 07-25-2008, 04:07 PM -
How to use TextHitInfo class to find the letter you are clicking
By Java Tip in forum java.awtReplies: 0Last Post: 06-25-2008, 10:34 AM -
JVM Could not find main class
By banduskank in forum Advanced JavaReplies: 2Last Post: 06-24-2008, 08:05 AM -
Able to find class file in WEB-INF/classes but not after add sub folders in class dir
By vitalstrike82 in forum Web FrameworksReplies: 0Last Post: 05-13-2008, 06:16 AM -
cannot find symbol class error
By po0oker in forum New To JavaReplies: 5Last Post: 10-31-2007, 02:52 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks