0

I have 2 projects to be merged in one maven project

One project has a java class with name

com.xyz.XyzManager

and the other project has an interface with the name

com.xyz.XyzManager

in the code I use

XyzManager manager = new XyzManagerImpl();

where XyzManagerImpl is an implementation of the interface

and also in the same code I use

XyzManager manager = new XyzManager();

where I use the class not the interface

I get compilation errors when I incluse both projects as it has conflict either when I use XyzManager as an interface or XyzManager as a java class

hope the issue is explained clear

4

0 回答 0