Hi, > Thorsten Heit wrote: > > > > ...snip ... > > > > But what puzzles me is that the archives created by Maven 2.2.1 and Maven > > 3.0.3 are different, and I don't see a reason why... > > > > ...snip... > > > > Hi there, > > Did you ever get anywhere with this? I'm seeing the same problem: Maven > 3.0.3 adds batik-js-1.7.jar and omits serializer-2.7.1.jar. > > Though I am not positive, I believe this is the cause of an exception I see > at runtime, the stack trace of which starts like this: > > java.lang.IllegalAccessError: > org/apache/xml/serializer/ExtendedContentHandler > at > org.apache.xalan.transformer.TransformerImpl.createSerializationHandler > (TransformerImpl.java:1233) > ...
I get a ClassNotFoundException at runtime. I don't know exactly which class, but it was one from the serializer jar... Unfortunately the only solution I have so far is to directly add a dependency to the serializer jar in the pom although no class in the project uses it - it is used transitively by xerces or xalan I guess... Regards Thorsten