I'm having problems with Spring contexts when deploying an application we 5 teams are developing (I belong in one of this teams). All of us compile our own jar. When locally debugging, Spring loads the contexts with no problem.
The issue arises when deploying in the server, we've been debugging and have discovered another team's contexts was accessing my beans (cross-referencing them by id) because we both are using Mybatis framework, so by declaring their bean with the same id they were getting access to my mappers and had a conflict I guess. The server throws and error referencing some autowiring problem but doesn't give much more information.
Nonetheless, we've changed this bean ID and still have problems with Spring. ¿Do you know any other reason why the contexts are failing or why this bean crossreference? Could you recommend a tool to try to find out the error?
Some more info: we're using Atlassian tool "Bamboo" to automatize jar compilation. We've checked and our last jar version seems to be in use... I don't know what else I could tell you, I'm not an expert on this issue.