Not sure where to ask this question, so I'll try here. I have an app that uses components, e.g. Apache Axis, that have a direct dependency on Javamail but I want my own code to advance to Jakarta mail 2.0. Having both in my project pom causes a collision in the com.sun package classes, e.g. SMTPTransport. Are the com.sun packages the same (or compatible) between Jakarta and Javamail jars, i.e. could the Jakarta jar be used for those classes? Can this be resolved and if so, suggestions how to do it?