Jul 7th, 2011, 09:05 PM
Problems about referencing different modules in a multi-module project
I am using STS 2.6.1 at the moment.
There is a multi-module project and I imported it into STS to separate the modules into different projects as the m2eclipse plugin doesn't support displaying multi-module project anymore.
For example, I have module-1, module-2 and module-3 in one project. They are referencing each other's classes without any problem. But then I check out another version of the project, which also contains module-1, module-2 and module-3. I renamed them to be module-1.1, module-2.1 and module-3.1. I found out there is one class in module-1 actually referencing classes in module-2.1 because when I press F3 to open declaration it directs me to module-2.1. But what it needs to reference is the class in module-2.
Can anyone tell me how can I resolve these issues without involving in too many hassles? I still prefer the old days when m2eclipse plugin supported multi-module project.
Tags for this Thread