Christian,
You can run the dependency command which will give you a tree of all
packages and versions being used in your build. Look for duplicates with
different versions.
>From the root of your project:
mvn dependency:tree
Ray
On 2015-09-07 07:56, Christian Rohmann wrote:
> Hey Misagh,
>
> thanks very much for the quick reply.
>
>
> On 09/07/2015 03:21 PM, Misagh Moayyed wrote:
>> You have JAR/dependency conflict. Examine your lib directory and
>> remove/exclude duplicates.
> Sorry, but I don't quite understand. What package do you believe is in
> conflict then? Hibernate? What would the pom.xml then need to contain in
> order to get this to work? I currently have:
>
> --- cut ---
> [...]
> <dependency>
> <!-- JPA (Core) -->
> <groupId>org.hibernate</groupId>
> <artifactId>hibernate-core</artifactId>
> <version>${hibernate.core.version}</version>
> <scope>runtime</scope>
> </dependency>
>
> <dependency>
> <!-- JPA (Entity Manager) -->
> <groupId>org.hibernate</groupId>
> <artifactId>hibernate-entitymanager</artifactId>
> <version>${hibernate.core.version}</version>
> <scope>runtime</scope>
> </dependency>
>
> <dependency>
> <!-- JPA (JDBC Connection Pooling) -->
> <groupId>c3p0</groupId>
> <artifactId>c3p0</artifactId>
> <version>0.9.1.2</version>
> <scope>runtime</scope>
> </dependency>
>
> <dependency>
> <!-- JPA (JDBC MySQL Connector) -->
> <groupId>mysql</groupId>
> <artifactId>mysql-connector-java</artifactId>
> <version>5.1.36</version>
> <scope>runtime</scope>
> </dependency>
>
> <dependency>
> <!-- Authentication (JDBC Backend) -->
> <groupId>org.jasig.cas</groupId>
> <artifactId>cas-server-support-jdbc</artifactId>
> <version>${cas.version}</version>
> </dependency>
> [...]
> --- cut ---
>
>
>
> Regards
>
> Christian
>
--
You are currently subscribed to [email protected] as:
[email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-user