I have two
java beans which can act independently of each other and are stored in A.jar and B.jar Each bean makes use of a simple utility class called C.class
For the beans to work independently of each other I am storing C.class in both the A.jar and B.jar files. However if I wish to create a new class file that uses both beans A.jar and B.jar the compiler complains in that it doesn't know which copy of C.class to use, that stored in A.jar or in B.jar
I could easily package up C.class into another jar file called C.jar and ship that with the beans A.jar and B.jar. Given that C.class is a simply utility class that would never be used independently of A.jar and B.jar I was hoping there was a better way to do this. Any ideas would be greatly appreciated.
------------------
JFind - Your Java Software Resource
www.jfind.com