*
The moose likes JSP and the fly likes compilation error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "compilation error" Watch "compilation error" New topic
Author

compilation error

akila sita
Greenhorn

Joined: Oct 23, 2002
Posts: 1
when I compile my java program it shows a "cannot resolve symbol" error. Is it due to a mistake in setting the classpath
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
could be. you should call your java programm with javac -classpath first.jar:second.jar java-file
while first & second jar are the files you need.
The second thing you can check is that you have no typo error in your classes. Check the code which throws the error. Maybe you misspelled some variable or class
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: compilation error
 
Similar Threads
WA #1.....word association
Getting error in setupConnection()
problem in retreiving value
Regarding tomcat
print statement in the declaration ...