[jboss-user] [JBoss Seam] - Seam Generator

grdzeli_kaci do-not-reply at jboss.com
Wed Feb 14 07:16:34 EST 2007


hi all,
Seam Version : 1.1.5 GA
JBoss Version : 4.0.5 GA
Ant  Version : 1.6.2

Fierst of all i was run ./seam setup from the command line and i've configured everyuthing fine. I was pointed project name MyProject.

1. now when i create new project from command line 
./seam new-project MyProjectNameFromHere i got an error like this :

  | BUILD FAILED
  | Target `MyProjectNameFromHere' does not exist in this project
  | 
and into my workspace classpath created project named MyProject.
how i can create new project with difference name?

2. during ./seam setup configuration i have configured oracle database for my project.
i'm sure that i pointed all configs correctly.
ant when i tryed to generate entityes from command line :
./seam generate-entities

i got an error again:


  | generate-entities:
  | [hibernate] Executing Hibernate Tool with a JDBC Configuration (for reverse engineering)
  | [hibernate] 1. task: hbm2java (Generates a set of .java files)
  | [hibernate] 15-Feb-07 4:19:03 AM org.hibernate.cfg.Environment <clinit>
  | [hibernate] INFO: Hibernate 3.2 cr4
  | [hibernate] 15-Feb-07 4:19:03 AM org.hibernate.cfg.Environment <clinit>
  | [hibernate] INFO: hibernate.properties not found
  | [hibernate] 15-Feb-07 4:19:03 AM org.hibernate.cfg.Environment buildBytecodeProvider
  | [hibernate] INFO: Bytecode provider name : cglib
  | 
  | BUILD FAILED
  | java.lang.NoClassDefFoundError: org.hibernate.bytecode.cglib.BytecodeProviderImpl
  | 
  | Total time: 3 seconds
  | paatal at paatal:~/InstalledPrograms/jboss-seam-1.1.5.GA>        
  | 

can anybody help me ?


Regards,
Paata

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

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



More information about the jboss-user mailing list