Confused as to why I get duplicate class error for the following code?
/*
* To change this template, choose Tools | Templates
* and open the template in th
This also happens if your referencing the erroring class in a separate file in the same package, with the erroring class with an unmatching package path to the file where you are referencing erroring class.
For example file 1 some.incorrect.path.package
class_that_is_erroring{ }
file 2 some.correct.path.package
class new_class{
class_that_is_erroring myclass = null;
}
The package paths in both files must match each other and match the file system directory.