Yeah i am using the plus distribution: version 1.7.4

I tried again with the dependencies in case there is a conflict as you said
but still not success, currently ive got in my pom.xml
<dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-core</artifactId>
            <version>4.2.21.Final</version>
        </dependency>
        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-entitymanager</artifactId>
            <version>4.2.21.Final</version>
            <exclusions>
                <exclusion>
                    <artifactId>hibernate-core</artifactId>
                    <groupId>org.hibernate</groupId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>net.sf.ehcache</groupId>
            <artifactId>ehcache-core</artifactId>
            <version>2.4.3</version>
        </dependency>
        <dependency>
            <groupId>org.hibernate.common</groupId>
            <artifactId>hibernate-commons-annotations</artifactId>
            <version>4.0.5.Final</version>
        </dependency>
        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-ehcache</artifactId>
            <version>4.2.21.Final</version>
            <exclusions>
                <exclusion>
                    <artifactId>hibernate-core</artifactId>
                    <groupId>org.hibernate</groupId>
                </exclusion>
            </exclusions>
        </dependency>


and in my lib folder/
hibernate-annotations-3.5.6-Final.jar
hibernate-commons-annotations-4.0.5.Final.jar
hibernate-core-4.2.21.Final.jar
hibernate-ehcache-4.2.21.Final.jar
hibernate-entitymanager-4.2.21.Final.jar
hibernate-validator-4.3.0.Final.jar


i am using even same versioning, still no idea why my cache it is not
working. Any other suggestion?
Thanks



--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/Error-when-using-EH-Cache-with-Hibernate-tp4681560p4681580.html
Sent from the TomEE Dev mailing list archive at Nabble.com.

Reply via email to