Whilst debugging an unrelated issue, I've noticed that one of our newer projects has javax.faces.component.UIComponent
on the classpath twice at different versions. They are loaded from these 2 dependencies, which are provided
in the Tomee lib directory:
<!-- Parent POM-->
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-api</artifactId>
<version>8.0</version>
<scope>provided</scope>
</dependency>
<!-- Web POM-->
<dependency>
<groupId>org.apache.myfaces.core</groupId>
<artifactId>myfaces-api</artifactId>
<version>2.3.3</version>
<scope>provided</scope>
</dependency>
Whilst this isn't causing any problems at the moment, I like to kill Classpath conflicts on sight, I know they'll come back to bite me at some point.
Where should this class be coming from?
Many thanks in advance.