I have changed the dependency in the pom to look like this: <dependency> <groupId>org.apache.ws.commons.axiom</groupId> <artifactId>axiom-impl</artifactId> <version>1.2.6</version> <exclusions> <exclusion> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-activation_1.1_spec</artifactId> </exclusion> <exclusion> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-javamail_1.4_spec</artifactId> </exclusion> </exclusions> </dependency>
In the same project I have another dependency to SendMailTransformer from Cocoon. You can see the problem in the following link, at the bottom of the page: http://cocoon.apache.org/2.2/blocks/mail/1.0/1099_1_1.html Salu2 > What version of Geronimo JavaMail / Activation are you using? Make sure you are using the latest. > > Jarek > On Wed, Mar 11, 2009 at 2:14 PM, Javier Puerto <javi...@juntadeandalucia.es> wrote: > Hello, > I am working with Cocoon and Axiom. Everything is with maven and I had a dependency problem with the javamail and activation implementation from Sun and Geronimo. > > I changed the unit axiom to work with Sun implementation and seems to work correctly. I tried with GerĂ³nimo implementation but I had problems in the side of Cocoon. Could there be a problem with this change? > > Thanks in advance. > > Salu2.