[jboss-user] [JBoss Seam] - java.lang.NoClassDefFoundError: net/sf/ehcache/CacheExceptio

fady.matar do-not-reply at jboss.com
Wed Jun 6 10:35:09 EDT 2007


I'm using the CVS version of seam currently at 1.3.0.ALPHA, and I'm using seam-gen to reverse engineers cruds from the database. I'm sure that the setup is proper since I'm pretty familiar with it and generated a number of applications since version 1.0

Now the thing is that I'm getting the following exception when I'm reversing the code from the database:


  | $ ./seam.bat generate-entities
  | Buildfile: d:\workspace\src\java\jboss\jboss-seam-1.3.0.ALPHA\seam-gen\build.xml
  | 
  | validate-workspace:
  | 
  | validate-project:
  | 
  | generate-entities:
  | [hibernate] Executing Hibernate Tool with a JDBC Configuration (for reverse engineering)
  | [hibernate] 1. task: hbm2java (Generates a set of .java files)
  | [hibernate] log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment).
  | [hibernate] log4j:WARN Please initialize the log4j system properly.
  | 
  | BUILD FAILED
  | java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException
  | 
  | Total time: 2 seconds
  | 
  | fady.matar at grouch /cygdrive/d/workspace/src/java/jboss/jboss-seam-1.3.0.ALPHA
  | 

Any hint on how to solve this? Is it the ehcache.jar that's missing?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4051753#4051753

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4051753



More information about the jboss-user mailing list