MolSearchExample.java cannot find Util?

User 90b2ed4bed

25-07-2011 16:26:39

I am compiling MolSearchExample.java and it says:


 



MolSearchExample.java:54: cannot find symbol


symbol  : variable Util


location: class search.MolSearchExample


                        new FileInputStream(Util.addPath("t.mrv")));


                                            ^


MolSearchExample.java:80: cannot find symbol


symbol  : variable Util


location: class search.MolSearchExample


                        System.out.println(Util.dumpIntArray(hit));


                                           ^


MolSearchExample.java:90: cannot find symbol


symbol  : variable Util


location: class search.MolSearchExample


                        System.out.println(Util.dumpInt2DArray(hitAll));


                                           ^


3 errors




Since the classes are in the same package (and Util.class) already exists, why is this happening?

User 90b2ed4bed

26-07-2011 14:56:52

It seems that moving the two files to a new directory and changing the package name (to the new directory) seems to have fixed this compilation problem.