My project includes a jar file because it is listed as a transitive dependency.
However, I have verified not only that I don\'t need it but it causes problems becaus
You can do this by explicitly excluding the problematic artifact. Take the dependency that includes the problem and mark it to be excluded:
From the maven website:
group-a artifact-a 1.0 group-c excluded-artifact