Note that there are some explanatory texts on larger screens.

plurals
  1. POHow do I solve "Can not find symbol" error?
    text
    copied!<p><a href="http://pastey.net/143355-1qoa" rel="nofollow">http://pastey.net/143355-1qoa</a> is my code for my java application so far. Each class I am writing has that file with the respective changes (below).</p> <p>When I try to compile the code, I get the "cannot find symbol" error for each of my 6 classes.How should I go about fixing this?</p> <p>I am attempting to compile with the following command:<br> <code>C:\Program Files (x86)\Java\jdk1.6.0_22\bin&gt;javac C:\Divelog\DiveLog.java</code></p> <p>Please keep in mind that I am a complete noob with java programming. If there is an amazing source to learn java, please tell me of it if you can.</p> <p>Thanks in advance.</p> <pre><code>package divelog; /** * This class creates the content on the * Welcome tabbed pane in the Dive Log * application. * @version 1.0 */ //import for buttons, labels, and images import javax.swing.*; //import for layout manager import java.awt.*; public class Resources extends JPanel { //Opens class }//Closes class </code></pre> <p>Edit:<br> Error Message:<br> C:\Divelog\DiveLog.java:62: connot find symbol<br> symbol : class Welcome<br> location: class divelog.DiveLog<br> new Welcome (),</p> <p>C:\Divelog\DiveLog.java:68: cannot find symbol<br> symbol : class Diver<br> location: class divelog.DiveLog<br> new Diver (), </p> <p>C:\Divelog\DiveLog.java:73: cannot find symbol<br> symbol : class Dives<br> location: class divelog.DiveLog<br> new Dives (), </p> <p>C:\Divelog\DiveLog.java:78: cannot find symbol<br> symbol : class Statistics<br> location: class divelog.DiveLog<br> new Statistics (), </p> <p>C:\Divelog\DiveLog.java:83: cannot find symbol<br> symbol : class WebSite location: class divelog.DiveLog<br> new WebSite (), </p> <p>C:\Divelog\DiveLog.java:87: cannot find symbol<br> symbol : class Resources<br> location: class divelog.DiveLog<br> new Resources (),</p> <p>6 errors</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload