Skip to content

Instantly share code, notes, and snippets.

@olamy
Created August 9, 2011 20:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save olamy/1135074 to your computer and use it in GitHub Desktop.
Save olamy/1135074 to your computer and use it in GitHub Desktop.
to prevent
Cannot convert value of type [javax.mail.Session] to required type [javax.mail.Session] for property 'session'
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-frontend-jaxrs</artifactId>
<exclusions>
<exclusion>
<groupId>geronimo-spec</groupId>
<artifactId>geronimo-spec-javamail</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-javamail_1.4_spec</artifactId>
</exclusion>
</exclusions>
</dependency>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment