I'm working on calendar application, similar to one provided with instalation of Tomcat. There you have class1 with methods which provide data for class 2. I have no problem to compile class1, but getting errors while compiling class2. This apply also to Tomcat examples if you try to recompile them.

cannot find symbol
symbol  : class Class1
location: class beans.Class2
        Class1 class1;

how do I get aroubd this? How shall I compile them?

Sorry for poor naming, in hurry to do more work