I am converting some software that was writting under Java 1.3.1 to Java 1.5, and I am getting two compile errors that I have never seen before. Both are related to import statements.
Here they are:
1) "<class name> is already defined in a single type import".
This one is happening with classes which import two classes with the same name. Of course, the imported classes are in different packages, and this worked in Java 1.3.1.
2) "import requires canonical name for <class name>.<inner class name>".
This happens when importing inner classes. Again, this worked in Java 1.3.1.
If anyone can provide some help, it would be greatly appreciated.
Thanks.
------
KJR
Here they are:
1) "<class name> is already defined in a single type import".
This one is happening with classes which import two classes with the same name. Of course, the imported classes are in different packages, and this worked in Java 1.3.1.
2) "import requires canonical name for <class name>.<inner class name>".
This happens when importing inner classes. Again, this worked in Java 1.3.1.
If anyone can provide some help, it would be greatly appreciated.
Thanks.
------
KJR