2 Replies Latest reply on May 22, 2007 4:04 AM by Manik Surtani

    maven2 dependencies for stand alone cache with hibernate

    Michael Newbie

      I'm trying to get a TreeCache running stand alone with hibernate, so I followed the entry
      http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossCacheHibernateTransactionsStandaloneExample

      I am also using maven, so I started hooking in the dependencies based some trial and error.
      Can someone let me know the correct set of jars to get from the maven repo? They are
      totally different from the ones inthe hbcache.zip that is on the wiki.
      Here's what I have so far, which results in a
      java.lang.NoClassDefFoundError: org/jboss/invocation/MarshalledValueInputStream.
      There is a version of this class in jboss-aop, but it's a different package..

      THanks for taking a look..
      --Michael

      <dependency>
       <groupId>jboss</groupId>
       <artifactId>jboss-cache</artifactId>
       <version>1.4.1.SP3</version>
       </dependency>
       <dependency>
       <groupId>jboss.jboss-aop</groupId>
       <artifactId>jboss-aop</artifactId>
       <version>1.5.0.GA</version>
       </dependency>
       <dependency>
       <groupId>jboss</groupId>
       <artifactId>jboss-system</artifactId>
       <version>4.2.0.GA</version>
       </dependency>
       <dependency>
       <groupId>jboss</groupId>
       <artifactId>jboss-common</artifactId>
       <version>4.0.4</version>
       </dependency>
       <dependency>
       <groupId>jboss</groupId>
       <artifactId>jboss-jmx</artifactId>
       <version>4.2.0.GA</version>
       </dependency>
       <dependency>
       <groupId>jgroups</groupId>
       <artifactId>jgroups</artifactId>
       <version>2.4.1</version>
       </dependency>
       <dependency>
       <groupId>oswego-concurrent</groupId>
       <artifactId>concurrent</artifactId>
       <version>1.3.4</version>
       </dependency>