10 Replies Latest reply on Dec 30, 2010 1:27 PM by Sakari Isoniemi

    Classpath problem with Oracle and seam generate

    thatproblemguy Newbie

      I'm a seam newb and I'm trying to use seam-gen to reverse engineer a db, but I get this classpath problem?  I've searched the forum and Googled forever.  Any help?  Thanks.



      [hibernate] An exception occurred while running exporter #2:generic exportertemp
      late: view/list.xhtml.ftl
      [hibernate] To get the full stack trace run ant with -verbose
      [hibernate] Problems in creating a configuration for JPA. Have you remembered to
       add hibernate EntityManager jars to the classpath ?
      [hibernate] java.lang.reflect.InvocationTargetException
      [hibernate] javax.persistence.PersistenceException: java.lang.TypeNotPresentExce
      ption: Type org.hibernate.validator.NotNull not present
      [hibernate] java.lang.TypeNotPresentException: Type org.hibernate.validator.NotN
      ull not present
      [hibernate] java.lang.ClassNotFoundException: org.hibernate.validator.NotNull
      [hibernate] A class were not found in the classpath of the Ant task.
      [hibernate] Ensure that the classpath contains the classes needed for Hibernate
      and your code are in the classpath.
      
      BUILD FAILED
      C:\jboss-seam-2.0.1.GA\seam-gen\build.xml:1100: Problems in creating a configuration for JPA. Have you remembered to add hibernate EntityManager jars to the classpath ?


        • 1. Re: Classpath problem with Oracle and seam generate
          Pete Muir Master

          Post the whole log from seam-gen, including all the commands you used.

          • 2. Re: Classpath problem with Oracle and seam generate
            thatproblemguy Newbie

            All I did was run seam setup and go through that process and then run seam generate which returns the following.  This is 2.0.1.CR2, but I tried 2.0.1.GA too.  Thanks.



            Buildfile: C:\jboss-seam-2.0.1.CR2\jboss-seam-2.0.1.CR2\seam-gen\build.xml
            
            init:
            
            init-properties:
                 [echo] /Applications/jboss-4.2.2.GA
            
            validate-workspace:
            
            validate-project:
            
            init-generate:
            
            generate-model:
                 [echo] Reverse engineering database using JDBC driver C:/temp/ojdbc14.jar
                 [echo] project=C:/Projects2/testGen
                 [echo] model=com.mydomain.testGen
            [hibernate] Executing Hibernate Tool with a JDBC Configuration (for reverse engineering)
            [hibernate] 1. task: hbm2java (Generates a set of .java files)
            [hibernate] Mar 12, 2008 8:16:56 AM org.hibernate.cfg.Environment <clinit>
            [hibernate] INFO: Hibernate 3.2.4.sp1
            [hibernate] Mar 12, 2008 8:16:56 AM org.hibernate.cfg.Environment <clinit>
            [hibernate] INFO: hibernate.properties not found
            [hibernate] Mar 12, 2008 8:16:56 AM org.hibernate.cfg.Environment buildBytecodeProvider
            [hibernate] INFO: Bytecode provider name : cglib
            [hibernate] Mar 12, 2008 8:16:56 AM org.hibernate.cfg.Environment <clinit>
            [hibernate] INFO: using JDK 1.4 java.sql.Timestamp handling
            [hibernate] Mar 12, 2008 8:16:56 AM org.hibernate.cfg.reveng.OverrideRepository addFile
            [hibernate] INFO: Override file: C:\Projects2\testGen\resources\seam-gen.reveng.xml
            [hibernate] Mar 12, 2008 8:16:56 AM org.hibernate.connection.DriverManagerConnectionProvider configure
            [hibernate] INFO: Using Hibernate built-in connection pool (not for production use!)
            [hibernate] Mar 12, 2008 8:16:56 AM org.hibernate.connection.DriverManagerConnectionProvider configure
            [hibernate] INFO: Hibernate connection pool size: 20
            [hibernate] Mar 12, 2008 8:16:56 AM org.hibernate.connection.DriverManagerConnectionProvider configure
            [hibernate] INFO: autocommit mode: false
            [hibernate] Mar 12, 2008 8:16:56 AM org.hibernate.connection.DriverManagerConnectionProvider configure
            [hibernate] INFO: using driver: oracle.jdbc.driver.OracleDriver at URL: jdbc:oracle:thin:@111.111.111.111:1521:db
            [hibernate] Mar 12, 2008 8:16:56 AM org.hibernate.connection.DriverManagerConnectionProvider configure
            [hibernate] INFO: connection properties: {user=????, password=****}
            [hibernate] Mar 12, 2008 8:16:57 AM org.hibernate.cfg.SettingsFactory buildSettings
            [hibernate] INFO: RDBMS: Oracle, version: Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
            [hibernate] With the Partitioning, OLAP and Oracle Data Mining options
            [hibernate] JServer Release 9.2.0.4.0 - Production
            [hibernate] Mar 12, 2008 8:16:57 AM org.hibernate.cfg.SettingsFactory buildSettings
            [hibernate] INFO: JDBC driver: Oracle JDBC driver, version: 9.2.0.8.0
            [hibernate] Mar 12, 2008 8:16:57 AM org.hibernate.dialect.Dialect <init>
            [hibernate] INFO: Using dialect: org.hibernate.dialect.OracleDialect
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.transaction.TransactionFactoryFactory buildTransactionFactory
            [hibernate] INFO: Using default transaction strategy (direct JDBC transactions)
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup
            [hibernate] INFO: No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.SettingsFactory buildSettings
            [hibernate] INFO: Automatic flush during beforeCompletion(): disabled
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.SettingsFactory buildSettings
            [hibernate] INFO: Automatic session close at end of transaction: disabled
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.SettingsFactory buildSettings
            [hibernate] INFO: JDBC batch size: 15
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.SettingsFactory buildSettings
            [hibernate] INFO: JDBC batch updates for versioned data: disabled
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.SettingsFactory buildSettings
            [hibernate] INFO: Scrollable result sets: enabled
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.SettingsFactory buildSettings
            [hibernate] INFO: JDBC3 getGeneratedKeys(): disabled
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.SettingsFactory buildSettings
            [hibernate] INFO: Connection release mode: auto
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.SettingsFactory buildSettings
            [hibernate] INFO: Default schema: DBSCHEMA
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.SettingsFactory buildSettings
            [hibernate] INFO: Default batch fetch size: 1
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.SettingsFactory buildSettings
            [hibernate] INFO: Generate SQL with comments: disabled
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.SettingsFactory buildSettings
            [hibernate] INFO: Order SQL updates by primary key: disabled
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.SettingsFactory buildSettings
            [hibernate] INFO: Order SQL inserts for batching: disabled
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.SettingsFactory createQueryTranslatorFactory
            [hibernate] INFO: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.hql.ast.ASTQueryTranslatorFactory <init>
            [hibernate] INFO: Using ASTQueryTranslatorFactory
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.SettingsFactory buildSettings
            [hibernate] INFO: Query language substitutions: {}
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.SettingsFactory buildSettings
            [hibernate] INFO: JPA-QL strict compliance: disabled
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.SettingsFactory buildSettings
            [hibernate] INFO: Second-level cache: enabled
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.SettingsFactory buildSettings
            [hibernate] INFO: Query cache: disabled
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.SettingsFactory createCacheProvider
            [hibernate] INFO: Cache provider: org.hibernate.cache.HashtableCacheProvider
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.SettingsFactory buildSettings
            [hibernate] INFO: Optimize cache for minimal puts: disabled
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.SettingsFactory buildSettings
            [hibernate] INFO: Structured second-level cache entries: disabled
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.SettingsFactory buildSettings
            [hibernate] INFO: Statistics: disabled
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.SettingsFactory buildSettings
            [hibernate] INFO: Deleted entity synthetic identifier rollback: disabled
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.SettingsFactory buildSettings
            [hibernate] INFO: Default entity-mode: pojo
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.SettingsFactory buildSettings
            [hibernate] INFO: Named query checking : enabled
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.reveng.dialect.OracleMetaDataDialect$1 convertRow
            [hibernate] INFO: {TABLE_SCHEM=DBSCHEMA, REMARKS=null, TABLE_CAT=null, TABLE_NAME=CFA_TYPE, TABLE_TYPE=TABLE}
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.reveng.dialect.OracleMetaDataDialect$1 convertRow
            [hibernate] INFO: {TABLE_SCHEM=DBSCHEMA, REMARKS=null, TABLE_CAT=null, TABLE_NAME=CONFIG, TABLE_TYPE=TABLE}
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.reveng.dialect.OracleMetaDataDialect$1 convertRow
            [hibernate] INFO: {TABLE_SCHEM=DBSCHEMA, REMARKS=null, TABLE_CAT=null, TABLE_NAME=CUSTOMER_CODE, TABLE_TYPE=TABLE}
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.reveng.dialect.OracleMetaDataDialect$1 convertRow
            [hibernate] INFO: {TABLE_SCHEM=DBSCHEMA, REMARKS=null, TABLE_CAT=null, TABLE_NAME=EXTERNAL_RES_INCLUDE_EXCLUDE, TABLE_TYPE=TABLE}
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.reveng.dialect.OracleMetaDataDialect$1 convertRow
            [hibernate] INFO: {TABLE_SCHEM=DBSCHEMA, REMARKS=null, TABLE_CAT=null, TABLE_NAME=FILE_TYPE, TABLE_TYPE=TABLE}
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.reveng.dialect.OracleMetaDataDialect$1 convertRow
            [hibernate] INFO: {TABLE_SCHEM=DBSCHEMA, REMARKS=null, TABLE_CAT=null, TABLE_NAME=GATE_MAPPING, TABLE_TYPE=TABLE}
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.reveng.dialect.OracleMetaDataDialect$1 convertRow
            [hibernate] INFO: {TABLE_SCHEM=DBSCHEMA, REMARKS=null, TABLE_CAT=null, TABLE_NAME=TEMP_MEMBER, TABLE_TYPE=TABLE}
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.reveng.dialect.OracleMetaDataDialect$1 convertRow
            [hibernate] INFO: {TABLE_SCHEM=DBSCHEMA, REMARKS=null, TABLE_CAT=null, TABLE_NAME=POR_POD_SOURCE_SINK_MAP, TABLE_TYPE=TABLE}
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.reveng.dialect.OracleMetaDataDialect$1 convertRow
            [hibernate] INFO: {TABLE_SCHEM=DBSCHEMA, REMARKS=null, TABLE_CAT=null, TABLE_NAME=PROVIDER_POR_POD, TABLE_TYPE=TABLE}
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.reveng.dialect.OracleMetaDataDialect$1 convertRow
            [hibernate] INFO: {TABLE_SCHEM=DBSCHEMA, REMARKS=null, TABLE_CAT=null, TABLE_NAME=PROVIDER_SINK, TABLE_TYPE=TABLE}
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.reveng.dialect.OracleMetaDataDialect$1 convertRow
            [hibernate] INFO: {TABLE_SCHEM=DBSCHEMA, REMARKS=null, TABLE_CAT=null, TABLE_NAME=PROVIDER_SOURCE, TABLE_TYPE=TABLE}
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.reveng.dialect.OracleMetaDataDialect$1 convertRow
            [hibernate] INFO: {TABLE_SCHEM=DBSCHEMA, REMARKS=null, TABLE_CAT=null, TABLE_NAME=RECORD_TYPE, TABLE_TYPE=TABLE}
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.reveng.dialect.OracleMetaDataDialect$1 convertRow
            [hibernate] INFO: {TABLE_SCHEM=DBSCHEMA, REMARKS=null, TABLE_CAT=null, TABLE_NAME=RES_INCLUDE_EXCLUDE, TABLE_TYPE=TABLE}
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.reveng.dialect.OracleMetaDataDialect$1 convertRow
            [hibernate] INFO: {TABLE_SCHEM=DBSCHEMA, REMARKS=null, TABLE_CAT=null, TABLE_NAME=RES_PROFILE, TABLE_TYPE=TABLE}
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.reveng.dialect.OracleMetaDataDialect$1 convertRow
            [hibernate] INFO: {TABLE_SCHEM=DBSCHEMA, REMARKS=null, TABLE_CAT=null, TABLE_NAME=TOR, TABLE_TYPE=TABLE}
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.reveng.dialect.OracleMetaDataDialect$1 convertRow
            [hibernate] INFO: {TABLE_SCHEM=DBSCHEMA, REMARKS=null, TABLE_CAT=null, TABLE_NAME=TOR_FILE, TABLE_TYPE=TABLE}
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.reveng.dialect.OracleMetaDataDialect$1 convertRow
            [hibernate] INFO: {TABLE_SCHEM=DBSCHEMA, REMARKS=null, TABLE_CAT=null, TABLE_NAME=TOR_FTP, TABLE_TYPE=TABLE}
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.reveng.dialect.OracleMetaDataDialect$1 convertRow
            [hibernate] INFO: {TABLE_SCHEM=DBSCHEMA, REMARKS=null, TABLE_CAT=null, TABLE_NAME=SELLER_CODE, TABLE_TYPE=TABLE}
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.reveng.dialect.OracleMetaDataDialect$1 convertRow
            [hibernate] INFO: {TABLE_SCHEM=DBSCHEMA, REMARKS=null, TABLE_CAT=null, TABLE_NAME=SERVICE_NAME_MAP, TABLE_TYPE=TABLE}
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.reveng.dialect.OracleMetaDataDialect$1 convertRow
            [hibernate] INFO: {TABLE_SCHEM=DBSCHEMA, REMARKS=null, TABLE_CAT=null, TABLE_NAME=STATUS_LOG, TABLE_TYPE=TABLE}
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.reveng.dialect.OracleMetaDataDialect$1 convertRow
            [hibernate] INFO: {TABLE_SCHEM=DBSCHEMA, REMARKS=null, TABLE_CAT=null, TABLE_NAME=TRANSFER_TYPE, TABLE_TYPE=TABLE}
            [hibernate] Mar 12, 2008 8:16:58 AM org.hibernate.cfg.reveng.dialect.OracleMetaDataDialect$1 convertRow
            [hibernate] INFO: {TABLE_SCHEM=DBSCHEMA, REMARKS=null, TABLE_CAT=null, TABLE_NAME=VALUE_TYPE, TABLE_TYPE=TABLE}
            [hibernate] Mar 12, 2008 8:17:00 AM org.hibernate.connection.DriverManagerConnectionProvider close
            [hibernate] INFO: cleaning up connection pool: jdbc:oracle:thin:@111.111.111.111:1521:db
            [hibernate] Mar 12, 2008 8:17:00 AM org.hibernate.tool.Version <clinit>
            [hibernate] INFO: Hibernate Tools 3.2.0.CR1
            [javaformatter] Java formatting of 22 files completed. Skipped 0 file(s).
            
            generate-ui:
                 [echo] Building project 'testGen' to generate views and controllers
            
            init:
            
            compile:
                [javac] Compiling 22 source files to C:\Projects2\testGen\exploded-archives\testGen.jar
            
            copyclasses:
            
            jar:
                 [copy] Copying 1 file to C:\Projects2\testGen\exploded-archives\testGen.jar\META-INF
                 [copy] Copying 1 file to C:\Projects2\testGen\exploded-archives\testGen.jar
            [hibernate] Executing Hibernate Tool with a JPA Configuration
            [hibernate] 1. task: generic exportertemplate: view/list.xhtml.ftl
            [hibernate] Mar 12, 2008 8:17:04 AM org.hibernate.cfg.annotations.Version <clinit>
            [hibernate] INFO: Hibernate Annotations 3.3.0.GA
            [hibernate] Mar 12, 2008 8:17:04 AM org.hibernate.ejb.Version <clinit>
            [hibernate] INFO: Hibernate EntityManager 3.3.1.GA
            [hibernate] Mar 12, 2008 8:17:05 AM org.hibernate.cfg.AnnotationBinder bindClass
            [hibernate] INFO: Binding entity from annotated class: com.mydomain.testGen.TORFile
            [hibernate] Mar 12, 2008 8:17:05 AM org.hibernate.cfg.annotations.EntityBinder bindTable
            [hibernate] INFO: Bind entity com.mydomain.testGen.TORFile on table TOR_FILE
            [hibernate] A class were not found in the classpath of the Ant task.
            [hibernate] Ensure that the classpath contains the classes needed for Hibernate and your code are in the classpath.



            • 3. Re: Classpath problem with Oracle and seam generate
              thatproblemguy Newbie

              ok, it looks like my problem is with generate-ui.  I ran generate-model and that worked, but here is the generate-ui output.  I'd really love to get this to work.  Any help is very much appreciated.



              compileactions:
                  [javac] org\cj\restest\Authenticator.java omitted as C:\Projects2\resTest\exploded-archives\resTest.war\WEB-INF\dev\org\cj\restest\Authenticator.class is up to date.
                  [javac] seam.properties skipped - don't know how to handle it
              
              copyclasses:
              Skipped because property 'eclipse.running' not set.
              
              war:
                   [copy] seam.properties omitted as C:\Projects2\resTest\exploded-archives\resTest.war\WEB-INF\classes\seam.properties is up to date.
                   [copy] security.drl omitted as C:\Projects2\resTest\exploded-archives\resTest.war\WEB-INF\classes\security.drl is up to date.
                   [copy] No sources found.
                   [copy] Copying 1 file to C:\Projects2\resTest\exploded-archives\resTest.war\WEB-INF\classes\META-INF
                   [copy] Copying C:\Projects2\resTest\resources\META-INF\persistence-dev-war.xml to C:\Projects2\resTest\exploded-archives\resTest.war\WEB-INF\classes\META-INF\persistence.xml
                   [copy] Copying 1 file to C:\Projects2\resTest\exploded-archives\resTest.war\WEB-INF\classes
                   [copy] Copying C:\Projects2\resTest\resources\import-dev.sql to C:\Projects2\resTest\exploded-archives\resTest.war\WEB-INF\classes\import.sql
                   [copy] error.xhtml omitted as C:\Projects2\resTest\exploded-archives\resTest.war\error.xhtml is up to date.
                   [copy] home.xhtml omitted as C:\Projects2\resTest\exploded-archives\resTest.war\home.xhtml is up to date.
                   [copy] img\dtpick.gif omitted as C:\Projects2\resTest\exploded-archives\resTest.war\img\dtpick.gif is up to date.
                   [copy] img\error.gif omitted as C:\Projects2\resTest\exploded-archives\resTest.war\img\error.gif is up to date.
                   [copy] index.html omitted as C:\Projects2\resTest\exploded-archives\resTest.war\index.html is up to date.
                   [copy] layout\display.xhtml omitted as C:\Projects2\resTest\exploded-archives\resTest.war\layout\display.xhtml is up to date.
                   [copy] layout\edit.xhtml omitted as C:\Projects2\resTest\exploded-archives\resTest.war\layout\edit.xhtml is up to date.
                   [copy] layout\menu.xhtml omitted as C:\Projects2\resTest\exploded-archives\resTest.war\layout\menu.xhtml is up to date.
                   [copy] layout\template.xhtml omitted as C:\Projects2\resTest\exploded-archives\resTest.war\layout\template.xhtml is up to date.
                   [copy] login.page.xml omitted as C:\Projects2\resTest\exploded-archives\resTest.war\login.page.xml is up to date.
                   [copy] login.xhtml omitted as C:\Projects2\resTest\exploded-archives\resTest.war\login.xhtml is up to date.
                   [copy] stylesheet\theme.css omitted as C:\Projects2\resTest\exploded-archives\resTest.war\stylesheet\theme.css is up to date.
                   [copy]  omitted as C:\Projects2\resTest\exploded-archives\resTest.war is up to date.
                   [copy] img omitted as C:\Projects2\resTest\exploded-archives\resTest.war\img is up to date.
                   [copy] layout omitted as C:\Projects2\resTest\exploded-archives\resTest.war\layout is up to date.
                   [copy] stylesheet omitted as C:\Projects2\resTest\exploded-archives\resTest.war\stylesheet is up to date.
                   [copy] components.xml omitted as C:\Projects2\resTest\exploded-archives\resTest.war\WEB-INF\components.xml is up to date.
                   [copy] faces-config.xml omitted as C:\Projects2\resTest\exploded-archives\resTest.war\WEB-INF\faces-config.xml is up to date.
                   [copy] jboss-web.xml omitted as C:\Projects2\resTest\exploded-archives\resTest.war\WEB-INF\jboss-web.xml is up to date.
                   [copy] pages.xml omitted as C:\Projects2\resTest\exploded-archives\resTest.war\WEB-INF\pages.xml is up to date.
                   [copy] web.xml omitted as C:\Projects2\resTest\exploded-archives\resTest.war\WEB-INF\web.xml is up to date.
                   [copy] No sources found.
                   [copy] No sources found.
                   [copy] No sources found.
                   [copy] antlr-runtime.jar omitted as C:\Projects2\resTest\exploded-archives\resTest.war\WEB-INF\lib\antlr-runtime.jar is up to date.
                   [copy] core.jar omitted as C:\Projects2\resTest\exploded-archives\resTest.war\WEB-INF\lib\core.jar is up to date.
                   [copy] drools-compiler.jar omitted as C:\Projects2\resTest\exploded-archives\resTest.war\WEB-INF\lib\drools-compiler.jar is up to date.
                   [copy] drools-core.jar omitted as C:\Projects2\resTest\exploded-archives\resTest.war\WEB-INF\lib\drools-core.jar is up to date.
                   [copy] janino.jar omitted as C:\Projects2\resTest\exploded-archives\resTest.war\WEB-INF\lib\janino.jar is up to date.
                   [copy] jboss-seam-debug.jar omitted as C:\Projects2\resTest\exploded-archives\resTest.war\WEB-INF\lib\jboss-seam-debug.jar is up to date.
                   [copy] jboss-seam-ioc.jar omitted as C:\Projects2\resTest\exploded-archives\resTest.war\WEB-INF\lib\jboss-seam-ioc.jar is up to date.
                   [copy] jboss-seam-mail.jar omitted as C:\Projects2\resTest\exploded-archives\resTest.war\WEB-INF\lib\jboss-seam-mail.jar is up to date.
                   [copy] jboss-seam-pdf.jar omitted as C:\Projects2\resTest\exploded-archives\resTest.war\WEB-INF\lib\jboss-seam-pdf.jar is up to date.
                   [copy] jboss-seam-remoting.jar omitted as C:\Projects2\resTest\exploded-archives\resTest.war\WEB-INF\lib\jboss-seam-remoting.jar is up to date.
                   [copy] jboss-seam-ui.jar omitted as C:\Projects2\resTest\exploded-archives\resTest.war\WEB-INF\lib\jboss-seam-ui.jar is up to date.
                   [copy] jsf-facelets.jar omitted as C:\Projects2\resTest\exploded-archives\resTest.war\WEB-INF\lib\jsf-facelets.jar is up to date.
                   [copy] mvel14.jar omitted as C:\Projects2\resTest\exploded-archives\resTest.war\WEB-INF\lib\mvel14.jar is up to date.
                   [copy] richfaces-api.jar omitted as C:\Projects2\resTest\exploded-archives\resTest.war\WEB-INF\lib\richfaces-api.jar is up to date.
                   [copy] richfaces-impl.jar omitted as C:\Projects2\resTest\exploded-archives\resTest.war\WEB-INF\lib\richfaces-impl.jar is up to date.
                   [copy] richfaces-ui.jar omitted as C:\Projects2\resTest\exploded-archives\resTest.war\WEB-INF\lib\richfaces-ui.jar is up to date.
                   [copy] No sources found.
                   [copy] messages_bg.properties omitted as C:\Projects2\resTest\exploded-archives\resTest.war\WEB-INF\classes\messages_bg.properties is up to date.
                   [copy] messages_de.properties omitted as C:\Projects2\resTest\exploded-archives\resTest.war\WEB-INF\classes\messages_de.properties is up to date.
                   [copy] messages_en.properties omitted as C:\Projects2\resTest\exploded-archives\resTest.war\WEB-INF\classes\messages_en.properties is up to date.
                   [copy] messages_fr.properties omitted as C:\Projects2\resTest\exploded-archives\resTest.war\WEB-INF\classes\messages_fr.properties is up to date.
                   [copy] messages_tr.properties omitted as C:\Projects2\resTest\exploded-archives\resTest.war\WEB-INF\classes\messages_tr.properties is up to date.
                   [copy] No sources found.
                   [copy] No sources found.
                   [copy] No sources found.
                   [copy] commons-beanutils.jar omitted as C:\Projects2\resTest\exploded-archives\resTest.war\WEB-INF\lib\commons-beanutils.jar is up to date.
                   [copy] commons-digester.jar omitted as C:\Projects2\resTest\exploded-archives\resTest.war\WEB-INF\lib\commons-digester.jar is up to date.
                   [copy] jboss-el.jar omitted as C:\Projects2\resTest\exploded-archives\resTest.war\WEB-INF\lib\jboss-el.jar is up to date.
                   [copy] jboss-seam.jar omitted as C:\Projects2\resTest\exploded-archives\resTest.war\WEB-INF\lib\jboss-seam.jar is up to date.
                   [copy] jbpm-jpdl.jar omitted as C:\Projects2\resTest\exploded-archives\resTest.war\WEB-INF\lib\jbpm-jpdl.jar is up to date.
                   [copy] No sources found.
                    [ant] Exiting C:\Projects2\resTest\build.xml.
              [hibernate] Executing Hibernate Tool with a JPA Configuration
              [hibernate] 1. task: generic exportertemplate: view/list.xhtml.ftl
              [hibernate] Mar 12, 2008 10:13:55 AM org.hibernate.cfg.annotations.Version <clinit>
              [hibernate] INFO: Hibernate Annotations 3.3.0.GA
              [hibernate] Mar 12, 2008 10:13:55 AM org.hibernate.cfg.Environment <clinit>
              [hibernate] INFO: Hibernate 3.2.4.sp1
              [hibernate] Mar 12, 2008 10:13:55 AM org.hibernate.cfg.Environment <clinit>
              [hibernate] INFO: hibernate.properties not found
              [hibernate] Mar 12, 2008 10:13:55 AM org.hibernate.cfg.Environment buildBytecodeProvider
              [hibernate] INFO: Bytecode provider name : cglib
              [hibernate] Mar 12, 2008 10:13:55 AM org.hibernate.cfg.Environment <clinit>
              [hibernate] INFO: using JDK 1.4 java.sql.Timestamp handling
              [hibernate] Mar 12, 2008 10:13:55 AM org.hibernate.ejb.Version <clinit>
              [hibernate] INFO: Hibernate EntityManager 3.3.1.GA
              [hibernate] Mar 12, 2008 10:13:56 AM org.hibernate.cfg.AnnotationBinder bindClass
              [hibernate] INFO: Binding entity from annotated class: org.cj.restest.StatusLog
              [hibernate] Mar 12, 2008 10:13:56 AM org.hibernate.cfg.annotations.EntityBinder bindTable
              [hibernate] INFO: Bind entity org.cj.restest.StatusLog on table STATUS_LOG
              [hibernate] A class were not found in the classpath of the Ant task.
              [hibernate] Ensure that the classpath contains the classes needed for Hibernate and your code are in the classpath.
              
              BUILD FAILED
              C:\jboss-seam-2.0.1.GA\seam-gen\build.xml:1120: Problems in creating a configuration for JPA. Have you remembered to add hibernate EntityManager
              jars to the classpath ?
                      at org.hibernate.tool.ant.JPAConfigurationTask.createConfiguration(JPAConfigurationTask.java:57)
                      at org.hibernate.tool.ant.ConfigurationTask.getConfiguration(ConfigurationTask.java:54)
                      at org.hibernate.tool.ant.HibernateToolTask.getConfiguration(HibernateToolTask.java:302)
                      at org.hibernate.tool.ant.HibernateToolTask.getProperties(HibernateToolTask.java:318)
                      at org.hibernate.tool.ant.ExporterTask.configureExporter(ExporterTask.java:94)
                      at org.hibernate.tool.ant.GenericExporterTask.configureExporter(GenericExporterTask.java:65)
                      at org.hibernate.tool.ant.ExporterTask.execute(ExporterTask.java:39)
                      at org.hibernate.tool.ant.HibernateToolTask.execute(HibernateToolTask.java:186)
                      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
                      at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                      at java.lang.reflect.Method.invoke(Method.java:585)
                      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
                      at org.apache.tools.ant.Task.perform(Task.java:348)
                      at org.apache.tools.ant.Target.execute(Target.java:357)
                      at org.apache.tools.ant.Target.performTasks(Target.java:385)
                      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
                      at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
                      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
                      at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
                      at org.apache.tools.ant.Main.runBuild(Main.java:698)
                      at org.apache.tools.ant.Main.startAnt(Main.java:199)
                      at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
                      at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
              Caused by: java.lang.reflect.InvocationTargetException
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                      at java.lang.reflect.Method.invoke(Method.java:585)
                      at org.hibernate.tool.ant.JPAConfigurationTask.createConfiguration(JPAConfigurationTask.java:43)
                      ... 23 more
              Caused by: javax.persistence.PersistenceException: java.lang.TypeNotPresentException: Type org.hibernate.validator.Length not present
                      at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:258)
                      ... 28 more
              Caused by: java.lang.TypeNotPresentException: Type org.hibernate.validator.Length not present
                      at sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:98)
                      at sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:107)
                      at sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:31)
                      at sun.reflect.annotation.AnnotationParser.parseSig(AnnotationParser.java:351)
                      at sun.reflect.annotation.AnnotationParser.parseAnnotation(AnnotationParser.java:175)
                      at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:69)
                      at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:52)
                      at java.lang.reflect.Method.declaredAnnotations(Method.java:676)
                      at java.lang.reflect.Method.getAnnotation(Method.java:663)
                      at java.lang.reflect.AccessibleObject.isAnnotationPresent(AccessibleObject.java:175)
                      at org.hibernate.annotations.common.reflection.java.JavaAnnotationReader.isAnnotationPresent(JavaAnnotationReader.java:27)
                      at org.hibernate.annotations.common.reflection.java.JavaXAnnotatedElement.isAnnotationPresent(JavaXAnnotatedElement.java:43)
                      at org.hibernate.cfg.AnnotationBinder.mustBeSkipped(AnnotationBinder.java:1063)
                      at org.hibernate.cfg.AnnotationBinder.addProperty(AnnotationBinder.java:1043)
                      at org.hibernate.cfg.AnnotationBinder.addElementsOfAClass(AnnotationBinder.java:999)
                      at org.hibernate.cfg.AnnotationBinder.getElementsToProcess(AnnotationBinder.java:833)
                      at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:645)
                      at org.hibernate.cfg.AnnotationConfiguration.processArtifactsOfType(AnnotationConfiguration.java:498)
                      at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:277)
                      at org.hibernate.cfg.Configuration.buildMappings(Configuration.java:1115)
                      at org.hibernate.ejb.Ejb3Configuration.buildMappings(Ejb3Configuration.java:1269)
                      at org.hibernate.ejb.EventListenerConfigurator.configure(EventListenerConfigurator.java:150)
                      at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:888)
                      at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:186)
                      at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:246)
                      ... 28 more
              Caused by: java.lang.ClassNotFoundException: org.hibernate.validator.Length
                      at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1383)
                      at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1324)
                      at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1072)
                      at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
                      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
                      at java.lang.Class.forName0(Native Method)
                      at java.lang.Class.forName(Class.java:242)
                      at sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:95)
                      ... 52 more
              --- Nested Exception ---
              java.lang.reflect.InvocationTargetException
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                      at java.lang.reflect.Method.invoke(Method.java:585)
                      at org.hibernate.tool.ant.JPAConfigurationTask.createConfiguration(JPAConfigurationTask.java:43)
                      at org.hibernate.tool.ant.ConfigurationTask.getConfiguration(ConfigurationTask.java:54)
                      at org.hibernate.tool.ant.HibernateToolTask.getConfiguration(HibernateToolTask.java:302)
                      at org.hibernate.tool.ant.HibernateToolTask.getProperties(HibernateToolTask.java:318)
                      at org.hibernate.tool.ant.ExporterTask.configureExporter(ExporterTask.java:94)
                      at org.hibernate.tool.ant.GenericExporterTask.configureExporter(GenericExporterTask.java:65)
                      at org.hibernate.tool.ant.ExporterTask.execute(ExporterTask.java:39)
                      at org.hibernate.tool.ant.HibernateToolTask.execute(HibernateToolTask.java:186)
                      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
                      at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                      at java.lang.reflect.Method.invoke(Method.java:585)
                      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
                      at org.apache.tools.ant.Task.perform(Task.java:348)
                      at org.apache.tools.ant.Target.execute(Target.java:357)
                      at org.apache.tools.ant.Target.performTasks(Target.java:385)
                      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
                      at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
                      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
                      at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
                      at org.apache.tools.ant.Main.runBuild(Main.java:698)
                      at org.apache.tools.ant.Main.startAnt(Main.java:199)
                      at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
                      at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
              Caused by: javax.persistence.PersistenceException: java.lang.TypeNotPresentException: Type org.hibernate.validator.Length not present
                      at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:258)
                      ... 28 more
              Caused by: java.lang.TypeNotPresentException: Type org.hibernate.validator.Length not present
                      at sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:98)
                      at sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:107)
                      at sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:31)
                      at sun.reflect.annotation.AnnotationParser.parseSig(AnnotationParser.java:351)
                      at sun.reflect.annotation.AnnotationParser.parseAnnotation(AnnotationParser.java:175)
                      at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:69)
                      at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:52)
                      at java.lang.reflect.Method.declaredAnnotations(Method.java:676)
                      at java.lang.reflect.Method.getAnnotation(Method.java:663)
                      at java.lang.reflect.AccessibleObject.isAnnotationPresent(AccessibleObject.java:175)
                      at org.hibernate.annotations.common.reflection.java.JavaAnnotationReader.isAnnotationPresent(JavaAnnotationReader.java:27)
                      at org.hibernate.annotations.common.reflection.java.JavaXAnnotatedElement.isAnnotationPresent(JavaXAnnotatedElement.java:43)
                      at org.hibernate.cfg.AnnotationBinder.mustBeSkipped(AnnotationBinder.java:1063)
                      at org.hibernate.cfg.AnnotationBinder.addProperty(AnnotationBinder.java:1043)
                      at org.hibernate.cfg.AnnotationBinder.addElementsOfAClass(AnnotationBinder.java:999)
                      at org.hibernate.cfg.AnnotationBinder.getElementsToProcess(AnnotationBinder.java:833)
                      at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:645)
                      at org.hibernate.cfg.AnnotationConfiguration.processArtifactsOfType(AnnotationConfiguration.java:498)
                      at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:277)
                      at org.hibernate.cfg.Configuration.buildMappings(Configuration.java:1115)
                      at org.hibernate.ejb.Ejb3Configuration.buildMappings(Ejb3Configuration.java:1269)
                      at org.hibernate.ejb.EventListenerConfigurator.configure(EventListenerConfigurator.java:150)
                      at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:888)
                      at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:186)
                      at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:246)
                      ... 28 more
              Caused by: java.lang.ClassNotFoundException: org.hibernate.validator.Length
                      at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1383)
                      at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1324)
                      at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1072)
                      at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
                      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
                      at java.lang.Class.forName0(Native Method)
                      at java.lang.Class.forName(Class.java:242)
                      at sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:95)
                      ... 52 more
              


              • 4. Re: Classpath problem with Oracle and seam generate
                Todd Nash Newbie

                I have a similar problem with Postgres as the db. I used to be able to run seam-gen and recently have been getting the class not found exceptions. I have read in other postings that this may be due to a bad database connection string, but I didn't change mine from when it was working.


                I suspect that my problem may be due to some ant libraries I added to my ant classpath for some custom tasks. I haven't had time to validate this yet, but you might want to check to see if you have some ant contrib libraries that may cause a problem.


                I know, the ant library shouldn't cause a problem, but that is the best explanation I have for why my seam-gen doesn't work anymore.

                • 5. Re: Classpath problem with Oracle and seam generate
                  Pete Muir Master

                  This is weird. Try adding


                  <pathelement path="../lib/hibernate-validator.jar"/>



                  to htools.classpath inside the init-generate target of seam-gen/build.xml script and let me know if that helps.


                  This all works for me generating off mysql.

                  • 6. Re: Classpath problem with Oracle and seam generate
                    thatproblemguy Newbie

                    Pete Muir wrote on Mar 12, 2008 05:22 PM:


                    This is weird. Try adding

                    <pathelement path="../lib/hibernate-validator.jar"/>



                    to htools.classpath inside the init-generate target of seam-gen/build.xml script and let me know if that helps.

                    This all works for me generating off mysql.


                    OK, this actually worked.  Many thanks.  This was the path I had started going down, but I couldn't figure out what jars were what quickly enough.  Thanks again.

                    • 7. Re: Classpath problem with Oracle and seam generate
                      Pete Muir Master

                      Thanks, I fixed this in trunk and the 2.0 branch.

                      • 8. Re: Classpath problem with Oracle and seam generate
                        Sakari Isoniemi Newbie
                        Evening

                        I have the same error with Seam 2.2.1.CR2, Derby 10.5.3.0, Jboss AS 5.1.0.GA, Win 7
                        When running 'seam.bat generate-entities'.
                        The database is an existing one and seam-gen founds the correct tables to build.xml

                        In ../seam-gen/build.xml is hibernate-validator.jar in 'htools.classpath' as

                              <pathelement path = "${seam.dir}/lib/hibernate-validator.jar"/>

                        Verbose log part 1 from 'seam.bat generate-entities'

                        // -----------------------------------------------------

                        D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2>seam.bat generate-entities -verbose
                        SEAM_HOME: D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2
                        Using seam-gen sources from: D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\seam-gen
                        Apache Ant version 1.7.0 compiled on December 13 2006
                        Buildfile: D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\seam-gen\build.xml
                        Detected Java version: 1.6 in: C:\Program Files\Java\jdk1.6.0_17\jre
                        Detected OS: Windows 7
                        parsing buildfile D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\seam-gen\build.xml with URI = file:/D:/sakari/IT/Tutorials/Seam/jboss-seam-2.2.1.CR2/seam-gen/build.xml
                        Project base dir set to: D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\seam-gen
                        [antlib:org.apache.tools.ant] Could not load definitions from resource org/apache/tools/ant/antlib.xml. It could not be
                        found.
                             [echo] seam.dir=D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2
                        [available] Unable to find D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\seam-gen.properties
                        [property] Loading D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\seam-gen\build.properties
                        [property] Loading Environment env.
                        Override ignored for property "jboss.home"
                        Override ignored for property "jboss.domain"
                        Property "env.GLASSFISH_HOME" has not been set
                        Override ignored for property "glassfish.home"
                        Override ignored for property "glassfish.domain"
                        Override ignored for property "workspace.home"
                        Importing file D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\build\common.build.xml from D:\sakari\IT\Tutorials\Seam\
                        jboss-seam-2.2.1.CR2\seam-gen\build.xml
                        parsing buildfile D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\build\common.build.xml with URI = file:/D:/sakari/IT/Tutorials/Seam/jboss-seam-2.2.1.CR2/build/common.build.xml
                        Override ignored for property "seam.dir"
                        Importing file D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\build\utilities.build.xml from D:\sakari\IT\Tutorials\Se
                        am\jboss-seam-2.2.1.CR2\build\common.build.xml
                        parsing buildfile D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\build\utilities.build.xml with URI = file:/D:/sakari/IT/Tutorials/Seam/jboss-seam-2.2.1.CR2/build/utilities.build.xml
                        [macrodef] creating macro  pomfile
                        [macrodef] creating macro  dependencies
                        [macrodef] creating macro  inlineDependencies
                        [macrodef] creating macro  dependenciesWithSources
                        [macrodef] creating macro  install
                        [macrodef] creating macro  deploy
                        [macrodef] creating macro  deployWithSources
                        [macrodef] creating macro  deployWithSourcesAndJavadoc
                        [macrodef] creating macro  deployWithAttachment
                        [macrodef] creating macro  copyDependencies
                        [macrodef] creating macro  copyInlineDependencies
                        [macrodef] creating macro  maven
                        parsing buildfile jar:file:/D:/sakari/IT/Tutorials/Seam/jboss-seam-2.2.1.CR2/build/lib/maven-ant-tasks.jar!/org/apache/maven/artifact/ant/antlib.xml with URI = jar:file:/D:/sakari/IT/Tutorials/Seam/jboss-seam-2.2.1.CR2/build/lib/maven-ant-t
                        asks.jar!/org/apache/maven/artifact/ant/antlib.xml
                        [available] Found: D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\build\sample.build.properties
                        [available] Found: D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\build.properties
                             [copy] No sources found.
                             [copy] No sources found.
                        [property] Loading D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\build.properties
                        Override ignored for property "jboss.home"
                        [property] Loading D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\build\default.build.properties
                        Override ignored for property "jboss.home"
                        Override ignored for property "qualifier"
                        [macrodef] creating macro  deploySeam
                        [macrodef] creating macro  deployExample
                        [macrodef] creating macro  installExample
                        [macrodef] creating macro  deployExampleNoDs
                        [macrodef] creating macro  dependencyReport
                        [macrodef] creating macro  outputDependencyReport
                        Build sequence for target(s) `generate-entities' is [init, init-properties, validate-workspace, validate-project, init-g
                        enerate, generate-model, generate-ui, generate, generate-entities]
                        Complete build sequence is [init, init-properties, validate-workspace, validate-project, init-generate, generate-model,
                        generate-ui, generate, generate-entities, action-input, copy-icefaces-home, add-identity-management, file-copy-war, file
                        -copy-ear, setup-filters, file-copy, new-conversation-war, initcopy, explode, initpoms, copyseamdependencies, copyjbosse
                        mbedded, copy-icefaces-maven, initdav, unexplode, undeploy, delete-project, version, copyseam, copy-lib, entity-input, n
                        ew-entity, new-action-war, update-project, new-form-war, dependencyReport, seam-gen.initpoms, seam-gen.initdav, help, de
                        ploy, new-conversation-ear, insert-menu-item, new-conversation, icefaces-staging-copy, create-project, new-project, quer
                        y-input, new-form-ear, new-form, add-ivy, seam-gen.initcopy, reset, archive, getemma, test, restart, new-action-ear, new
                        -action, redeploy, clean, seam-gen.copyseamdependencies, update-seam, reexplode, setup, seam-gen.getemma, seam-gen.depen
                        dencyReport, settings, seam-gen.copyseam, new-query, , new-test, seam-gen.copyjbossembedded]

                        init:

                        init-properties:
                        Property "hibernate.default_schema" has not been set
                        Property "hibernate.default_catalog" has not been set
                             [echo] C:/Programs/Java/JBoss/jboss-5.1.0.GA

                        validate-workspace:

                        validate-project:
                        [available] Found: D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\build.xml

                        init-generate:
                        dropping D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\lib\ant.jar from path as it doesn't exist
                        dropping D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\lib\asm.jar from path as it doesn't exist

                        generate-model:
                             [echo] Reverse engineering database using JDBC driver C:/Programs/Java/db-derby-10.5.3.0-bin/lib/derby.jar
                             [echo] project=D:/sakari/IT/Tutorials/Seam/jboss-seam-2.2.1.CR2/eclipse/Examples1/ElectrWireGen1
                             [echo] model=com.mydomain.electrwiregen1.model
                             [echo] jboss.lib.dir=C:/Programs/Java/JBoss/jboss-5.1.0.GA/server/default/lib
                        [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.
                        dropping D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\lib\ant.jar from path as it doesn't exist
                        dropping D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\lib\asm.jar from path as it doesn't exist
                        [javaformatter] Formatted D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\src\main\com
                        \mydomain\electrwiregen1\model\Component.java
                        [javaformatter] Formatted D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\src\main\com
                        \mydomain\electrwiregen1\model\Connector.java
                        [javaformatter] Formatted D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\src\main\com
                        \mydomain\electrwiregen1\model\Parameters.java
                        [javaformatter] Formatted D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\src\main\com
                        \mydomain\electrwiregen1\model\Wireconnection.java
                        [javaformatter] Java formatting of 4 files completed. Skipped 0 file(s).

                        generate-ui:
                             [echo] Building project 'ElectrWireGen1' to generate views and controllers
                              [ant] calling target(s) [jar] in build file D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\Ele
                        ctrWireGen1\build.xml
                        parsing buildfile D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\build.xml with URI =
                        file:/D:/sakari/IT/Tutorials/Seam/jboss-seam-2.2.1.CR2/eclipse/Examples1/ElectrWireGen1/build.xml
                        Project base dir set to: D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1
                        [property] Loading D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\build.properties
                        [property] Loading D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\build-dev.properti
                        es
                        Override ignored for property "jboss.domain"
                        Override ignored for property "debug"
                        Importing file D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\glassfish-build.xml fro
                        m D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\build.xml
                        parsing buildfile D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\glassfish-build.xml
                        with URI = file:/D:/sakari/IT/Tutorials/Seam/jboss-seam-2.2.1.CR2/eclipse/Examples1/ElectrWireGen1/glassfish-build.xml
                        [macrodef] creating macro  asadmin
                              [ant] Entering D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\build.xml...
                        Build sequence for target(s) `jar' is [init, groovy.compile, groovy.copy, compile, copyclasses, jar]
                        Complete build sequence is [init, groovy.compile, groovy.copy, compile, copyclasses, jar, gf-init, war, ear, stage, gf-s
                        tage, gf-hotdeploy, validate, datasource, gf-stop, gf-start, gf-reboot, ElectrWireGen1-glassfish.gf-list-jdbc-resources,
                        groovy.compiletest, gf-undeploy-archive, gf-undeploy-datasource, gf-undeploy, gf-unexplode, gf-debug, gf-check-datasour
                        ce, clear-profile-artifacts, archive, gf-archive, gf-deploy-datasource, ElectrWireGen1-glassfish.gf-deploy, undeploy, pu
                        rge, ElectrWireGen1-glassfish.gf-cleanup-ear, explode, ElectrWireGen1-glassfish.gf-deploy-hibernate, gf-check-seam-explo
                        ded, gf-explode-seam, ElectrWireGen1-glassfish.gf-explode, clean, gf-explode, ElectrWireGen1-glassfish.gf-reexplode, gf-
                        deploy, ElectrWireGen1-glassfish.gf-stage, ElectrWireGen1-glassfish.gf-check-seam-exploded, unexplode, gf-redeploy, Elec
                        trWireGen1-glassfish.gf-undeploy, check-deployed, compiletest, copytestclasses, buildtest, ElectrWireGen1-glassfish.gf-d
                        ebug, gf-reexplode, ElectrWireGen1-glassfish.gf-check-datasource, ElectrWireGen1-glassfish.gf-start, deploy, ElectrWireG
                        en1-glassfish.gf-undeploy-archive, ElectrWireGen1-glassfish.gf-archive, gf-list-components, ElectrWireGen1-glassfish.gf-
                        redeploy, test, gf-list-jdbc-resources, gf-deploy-hibernate, ElectrWireGen1-glassfish.gf-prepare, restart-exploded, rest
                        art-deployed, restart, ElectrWireGen1-glassfish.gf-deploy-datasource, ElectrWireGen1-glassfish.gf-explode-seam, redeploy
                        , ElectrWireGen1-glassfish.gf-init, ElectrWireGen1-glassfish.gf-restart, gf-cleanup-ear, reexplode, ElectrWireGen1-glass
                        fish.gf-hotdeploy, ElectrWireGen1-glassfish.gf-stop, javadoc, ElectrWireGen1-glassfish.gf-unexplode, gf-prepare, validat
                        eConfiguration, ElectrWireGen1-glassfish.gf-reboot, gf-restart, ElectrWireGen1-glassfish.gf-list-components, ElectrWireG
                        en1-glassfish.gf-undeploy-datasource, ]

                        init:
                            [mkdir] Skipping D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\exploded-archives
                        \ElectrWireGen1.ear\ElectrWireGen1_jar because it already exists.
                            [mkdir] Skipping D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\exploded-archives
                        \ElectrWireGen1.ear because it already exists.
                            [mkdir] Skipping D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\exploded-archives
                        \ElectrWireGen1.ear\ElectrWireGen1_war because it already exists.
                            [mkdir] Skipping D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\dist because it a
                        lready exists.
                        [available] Found: C:\Programs\Java\JBoss\jboss-5.1.0.GA\lib\jboss-vfs.jar
                        [available] Unable to find  to set property groovy.present
                        [available] Unable to find

                        groovy.compile:
                        Skipped because property 'groovy.static' not set.

                        groovy.copy:
                        Skipped because property 'groovy.dynamic' not set.

                        compile:
                            [javac] com\mydomain\electrwiregen1\model\Component.java added as com\mydomain\electrwiregen1\model\Component.class
                        is outdated.
                            [javac] com\mydomain\electrwiregen1\model\Connector.java added as com\mydomain\electrwiregen1\model\Connector.class
                        is outdated.
                            [javac] com\mydomain\electrwiregen1\model\Parameters.java added as com\mydomain\electrwiregen1\model\Parameters.clas
                        s is outdated.
                            [javac] com\mydomain\electrwiregen1\model\Wireconnection.java added as com\mydomain\electrwiregen1\model\Wireconnect
                        ion.class is outdated.
                            [javac] com\mydomain\ElectrWireGen1\action\Authenticator.java omitted as D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.
                        1.CR2\eclipse\Examples1\ElectrWireGen1\exploded-archives\ElectrWireGen1.ear\ElectrWireGen1_jar\com\mydomain\ElectrWireGe
                        n1\action\Authenticator.class is up to date.
                            [javac] com\mydomain\ElectrWireGen1\action\AuthenticatorBean.java omitted as D:\sakari\IT\Tutorials\Seam\jboss-seam-
                        2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\exploded-archives\ElectrWireGen1.ear\ElectrWireGen1_jar\com\mydomain\ElectrWi
                        reGen1\action\AuthenticatorBean.class is up to date.
                            [javac] Compiling 4 source files to D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen
                        1\exploded-archives\ElectrWireGen1.ear\ElectrWireGen1_jar
                            [javac] Using modern compiler
                            [javac] Compilation arguments:
                            [javac] '-nowarn'
                            [javac] '-d'
                            [javac] 'D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\exploded-archives\ElectrW
                        ireGen1.ear\ElectrWireGen1_jar'
                            [javac] '-classpath'


                        • 9. Re: Classpath problem with Oracle and seam generate
                          Sakari Isoniemi Newbie

                          Second part of verbose

                              [javac] 'D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\exploded-archives\ElectrW
                          ireGen1.ear\ElectrWireGen1_jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\act
                          ivation.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\ant-antlr.jar;D:\sakar
                          i\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\antlr-runtime.jar;D:\sakari\IT\Tutorials\S
                          eam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\antlr.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2
                          \eclipse\Examples1\ElectrWireGen1\lib\backport-util-concurrent.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\ecli
                          pse\Examples1\ElectrWireGen1\lib\blazeds-common.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\E
                          lectrWireGen1\lib\blazeds-core.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib
                          \blazeds-proxy.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\blazeds-remotin
                          g.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\bsh.jar;D:\sakari\IT\Tutoria
                          ls\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\cglib-nodep.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam
                          -2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\commons-beanutils.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\e
                          clipse\Examples1\ElectrWireGen1\lib\commons-codec.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1
                          \ElectrWireGen1\lib\commons-collections.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWir
                          eGen1\lib\commons-digester.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\com
                          mons-httpclient.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\commons-io.jar
                          ;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\commons-lang.jar;D:\sakari\IT\Tut
                          orials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\commons-logging.jar;D:\sakari\IT\Tutorials\Seam\jb
                          oss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\concurrent.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\
                          eclipse\Examples1\ElectrWireGen1\lib\core.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrW
                          ireGen1\lib\darkX.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\dbunit.jar;D
                          :\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\derby.jar;D:\sakari\IT\Tutorials\Se
                          am\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\dom4j.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\
                          eclipse\Examples1\ElectrWireGen1\lib\drools-api.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\E
                          lectrWireGen1\lib\drools-compiler.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\
                          lib\drools-core.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\drools-decisio
                          ntables.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\drools-templates.jar;D
                          :\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\ehcache.jar;D:\sakari\IT\Tutorials\
                          Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\ejb-api.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.
                          CR2\eclipse\Examples1\ElectrWireGen1\lib\ejb3-persistence.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\E
                          xamples1\ElectrWireGen1\lib\el-api.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1
                          \lib\emma.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\glassX.jar;D:\sakari
                          \IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\groovy-all.jar;D:\sakari\IT\Tutorials\Seam\
                          jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\guice.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\ecl
                          ipse\Examples1\ElectrWireGen1\lib\gwt-servlet.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\Ele
                          ctrWireGen1\lib\hibernate-annotations.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireG
                          en1\lib\hibernate-commons-annotations.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireG
                          en1\lib\hibernate-core.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\hiberna
                          te-entitymanager.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\hibernate-sea
                          rch.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\hibernate-validator.jar;D:
                          \sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\hsqldb.jar;D:\sakari\IT\Tutorials\Se
                          am\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\htmlparser.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1
                          .CR2\eclipse\Examples1\ElectrWireGen1\lib\httpclient.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Exampl
                          es1\ElectrWireGen1\lib\httpcore.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\li
                          b\itext-rtf.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\itext.jar;D:\sakar
                          i\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\janino.jar;D:\sakari\IT\Tutorials\Seam\jbo
                          ss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\javassist.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\ec
                          lipse\Examples1\ElectrWireGen1\lib\jaxb-api.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\Elect
                          rWireGen1\lib\jaxrs-api.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\jaxws-
                          api.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\jboss-cache.jar;D:\sakari\
                          IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\jboss-common-core.jar;D:\sakari\IT\Tutorials
                          \Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\jboss-deployers-client-spi.jar;D:\sakari\IT\Tutorials\Se
                          am\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\jboss-deployers-core-spi.jar;D:\sakari\IT\Tutorials\Seam\jb
                          oss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\jboss-el.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\ec
                          lipse\Examples1\ElectrWireGen1\lib\jboss-embedded-api.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examp
                          les1\ElectrWireGen1\lib\jboss-jmx.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\
                          lib\jboss-logging-spi.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\jboss-se
                          am-debug.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\jboss-seam-excel.jar;
                          D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\jboss-seam-flex.jar;D:\sakari\IT\T
                          utorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\jboss-seam-ioc.jar;D:\sakari\IT\Tutorials\Seam\j
                          boss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\jboss-seam-jul.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1
                          .CR2\eclipse\Examples1\ElectrWireGen1\lib\jboss-seam-mail.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\E
                          xamples1\ElectrWireGen1\lib\jboss-seam-pdf.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\Electr
                          WireGen1\lib\jboss-seam-remoting.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\l
                          ib\jboss-seam-resteasy.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\jboss-s
                          eam-rss.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\jboss-seam-ui.jar;D:\s
                          akari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\jboss-seam.jar;D:\sakari\IT\Tutorials\
                          Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\jboss-system.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2
                          .2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\jboss-vfs.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Exa
                          mples1\ElectrWireGen1\lib\jbosscache-core.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrW
                          ireGen1\lib\jbpm-jpdl.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\jcip-ann
                          otations.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\jcl-over-slf4j.jar;D:
                          \sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\jcommon.jar;D:\sakari\IT\Tutorials\S
                          eam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\jettison.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.
                          CR2\eclipse\Examples1\ElectrWireGen1\lib\jfreechart.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Example
                          s1\ElectrWireGen1\lib\jgroups.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\
                          jms.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\joda-time.jar;D:\sakari\IT
                          \Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\jsf-api.jar;D:\sakari\IT\Tutorials\Seam\jboss-
                          seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\jsf-facelets.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\ec
                          lipse\Examples1\ElectrWireGen1\lib\jsf-impl.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\Elect
                          rWireGen1\lib\jsp-api.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\jsr181-a
                          pi.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\jsr250-api.jar;D:\sakari\IT
                          \Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\jta.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam
                          -2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\junit.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examp
                          les1\ElectrWireGen1\lib\jxl.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\la
                          guna.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\log4j.jar;D:\sakari\IT\Tu
                          torials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\lucene-core.jar;D:\sakari\IT\Tutorials\Seam\jboss
                          -seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\mail.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\E
                          xamples1\ElectrWireGen1\lib\meldware-mailapi.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\Elec
                          trWireGen1\lib\meldware-mailjmx.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\li
                          b\metawidget-backend.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\metawidge
                          t-frontend.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\metawidget.jar;D:\s
                          akari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\mvel2.jar;D:\sakari\IT\Tutorials\Seam\
                          jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\openid4java.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.C
                          R2\eclipse\Examples1\ElectrWireGen1\lib\openxri-client.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Exam
                          ples1\ElectrWireGen1\lib\openxri-syntax.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWir
                          eGen1\lib\persistence-api.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\port
                          let-api.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\quartz.jar;D:\sakari\I
                          T\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\resteasy-atom-provider.jar;D:\sakari\IT\Tutor
                          ials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\resteasy-jaxb-provider.jar;D:\sakari\IT\Tutorials\Se
                          am\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\resteasy-jaxrs.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2
                          .2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\resteasy-jettison-provider.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.
                          1.CR2\eclipse\Examples1\ElectrWireGen1\lib\richfaces-api.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Ex
                          amples1\ElectrWireGen1\lib\richfaces-impl.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrW
                          ireGen1\lib\richfaces-ui.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\saaj-
                          api.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\servlet-api.jar;D:\sakari\
                          IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\slf4j-api.jar;D:\sakari\IT\Tutorials\Seam\jb
                          oss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\slf4j-log4j12.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.C
                          R2\eclipse\Examples1\ElectrWireGen1\lib\spring.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\El
                          ectrWireGen1\lib\stax-api.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\test
                          ng-jdk15.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\urlrewritefilter.jar;
                          D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\wicket-datetime.jar;D:\sakari\IT\T
                          utorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\wicket-extensions.jar;D:\sakari\IT\Tutorials\Sea
                          m\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\wicket-ioc.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.
                          CR2\eclipse\Examples1\ElectrWireGen1\lib\wicket.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\E
                          lectrWireGen1\lib\xml-apis.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\xpp
                          3_min.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\xstream.jar;D:\sakari\IT
                          \Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\lib\yarfraw.jar;C:\Program Files\Java\jdk1.6.0_17\
                          lib\tools.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\build\lib\ant-launcher.jar;D:\sakari\IT\Tutorials\Seam\jb
                          oss-seam-2.2.1.CR2\build\lib\ant-nodeps.jar;D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\build\lib\ant.jar;D:\sakari
                          \IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\build\lib\maven-ant-tasks.jar'
                              [javac] '-sourcepath'
                              [javac] 'D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\src\main;D:\sakari\IT\Tut
                          orials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\src\hot'
                              [javac] '-g'
                              [javac]
                              [javac] The ' characters around the executable and arguments are
                              [javac] not part of the command.
                              [javac] Files to be compiled:
                              [javac]     D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\src\main\com\mydomain\
                          electrwiregen1\model\Component.java
                              [javac]     D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\src\main\com\mydomain\
                          electrwiregen1\model\Connector.java
                              [javac]     D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\src\main\com\mydomain\
                          electrwiregen1\model\Parameters.java
                              [javac]     D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\src\main\com\mydomain\
                          electrwiregen1\model\Wireconnection.java

                          copyclasses:
                          Skipped because property 'eclipse.running' not set.

                          jar:
                               [copy] No sources found.
                               [copy] No sources found.
                               [copy] seam.properties omitted as D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1
                          \exploded-archives\ElectrWireGen1.ear\ElectrWireGen1_jar\seam.properties is up to date.
                               [copy] security.drl omitted as D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\ex
                          ploded-archives\ElectrWireGen1.ear\ElectrWireGen1_jar\security.drl is up to date.
                               [copy] No sources found.
                               [copy] ejb-jar.xml omitted as D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\exp
                          loded-archives\ElectrWireGen1.ear\ElectrWireGen1_jar\META-INF\ejb-jar.xml is up to date.
                               [copy] orm.xml omitted as D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\explode
                          d-archives\ElectrWireGen1.ear\ElectrWireGen1_jar\META-INF\orm.xml is up to date.
                               [copy] No sources found.
                               [copy] D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\resources\META-INF\persist
                          ence-dev.xml omitted as D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\exploded-archi
                          ves\ElectrWireGen1.ear\ElectrWireGen1_jar\META-INF\persistence.xml is up to date.
                               [copy] D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\resources\import-dev.sql o
                          mitted as D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\exploded-archives\ElectrWire
                          Gen1.ear\ElectrWireGen1_jar\import.sql is up to date.
                                [ant] Exiting D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\eclipse\Examples1\ElectrWireGen1\build.xml.
                          [hibernate] Executing Hibernate Tool with a JPA Configuration
                          [hibernate] 1. task: generic exportertemplate: view/list.xhtml.ftl
                          [hibernate] An exception occurred while running exporter #2:generic exportertemplate: view/list.xhtml.ftl
                          [hibernate] To get the full stack trace run ant with -verbose
                          [hibernate] Problems in creating a configuration for JPA. Have you remembered to add hibernate EntityManager jars to the
                          classpath ?
                          [hibernate] java.lang.reflect.InvocationTargetException
                          [hibernate] javax.persistence.PersistenceException: [PersistenceUnit: ElectrWireGen1] class or package not found
                          [hibernate] java.lang.ClassNotFoundException: com.mydomain.ElectrWireGen1.model.Parameters
                          [hibernate] A class were not found in the classpath of the Ant task.
                          [hibernate] Ensure that the classpath contains the classes needed for Hibernate and your code are in the classpath.

                          BUILD FAILED
                          D:\sakari\IT\Tutorials\Seam\jboss-seam-2.2.1.CR2\seam-gen\build.xml:1607: Problems in creating a configuration for JPA.
                          Have you remembered to add hibernate EntityManager jars to the classpath ?
                                  at org.hibernate.tool.ant.JPAConfigurationTask.createConfiguration(JPAConfigurationTask.java:57)
                                  at org.hibernate.tool.ant.ConfigurationTask.getConfiguration(ConfigurationTask.java:54)
                                  at org.hibernate.tool.ant.HibernateToolTask.getConfiguration(HibernateToolTask.java:302)
                                  at org.hibernate.tool.ant.HibernateToolTask.getProperties(HibernateToolTask.java:318)
                                  at org.hibernate.tool.ant.ExporterTask.configureExporter(ExporterTask.java:94)
                                  at org.hibernate.tool.ant.GenericExporterTask.configureExporter(GenericExporterTask.java:65)
                                  at org.hibernate.tool.ant.ExporterTask.execute(ExporterTask.java:39)
                                  at org.hibernate.tool.ant.HibernateToolTask.execute(HibernateToolTask.java:186)
                                  at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
                                  at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
                                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                                  at java.lang.reflect.Method.invoke(Method.java:597)
                                  at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
                                  at org.apache.tools.ant.Task.perform(Task.java:348)
                                  at org.apache.tools.ant.Target.execute(Target.java:357)
                                  at org.apache.tools.ant.Target.performTasks(Target.java:385)
                                  at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
                                  at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
                                  at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
                                  at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
                                  at org.apache.tools.ant.Main.runBuild(Main.java:698)
                                  at org.apache.tools.ant.Main.startAnt(Main.java:199)
                                  at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
                                  at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
                          Caused by: java.lang.reflect.InvocationTargetException
                                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                                  at java.lang.reflect.Method.invoke(Method.java:597)
                                  at org.hibernate.tool.ant.JPAConfigurationTask.createConfiguration(JPAConfigurationTask.java:43)
                                  ... 23 more
                          Caused by: javax.persistence.PersistenceException: [PersistenceUnit: ElectrWireGen1] class or package not found
                                  at org.hibernate.ejb.Ejb3Configuration.addNamedAnnotatedClasses(Ejb3Configuration.java:1093)
                                  at org.hibernate.ejb.Ejb3Configuration.addClassesToSessionFactory(Ejb3Configuration.java:871)
                                  at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:758)
                                  at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:191)
                                  at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:253)
                                  ... 28 more
                          Caused by: java.lang.ClassNotFoundException: com.mydomain.ElectrWireGen1.model.Parameters
                                  at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1383)
                                  at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1324)
                                  at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1072)
                                  at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
                                  at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
                                  at java.lang.Class.forName0(Native Method)
                                  at java.lang.Class.forName(Class.java:247)
                                  at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:135)
                                  at org.hibernate.ejb.Ejb3Configuration.classForName(Ejb3Configuration.java:1009)
                                  at org.hibernate.ejb.Ejb3Configuration.addNamedAnnotatedClasses(Ejb3Configuration.java:1081)
                                  ... 32 more
                          --- Nested Exception ---
                          java.lang.reflect.InvocationTargetException
                                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                                  at java.lang.reflect.Method.invoke(Method.java:597)
                                  at org.hibernate.tool.ant.JPAConfigurationTask.createConfiguration(JPAConfigurationTask.java:43)
                                  at org.hibernate.tool.ant.ConfigurationTask.getConfiguration(ConfigurationTask.java:54)
                                  at org.hibernate.tool.ant.HibernateToolTask.getConfiguration(HibernateToolTask.java:302)
                                  at org.hibernate.tool.ant.HibernateToolTask.getProperties(HibernateToolTask.java:318)
                                  at org.hibernate.tool.ant.ExporterTask.configureExporter(ExporterTask.java:94)
                                  at org.hibernate.tool.ant.GenericExporterTask.configureExporter(GenericExporterTask.java:65)
                                  at org.hibernate.tool.ant.ExporterTask.execute(ExporterTask.java:39)
                                  at org.hibernate.tool.ant.HibernateToolTask.execute(HibernateToolTask.java:186)
                                  at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
                                  at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
                                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                                  at java.lang.reflect.Method.invoke(Method.java:597)
                                  at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
                                  at org.apache.tools.ant.Task.perform(Task.java:348)
                                  at org.apache.tools.ant.Target.execute(Target.java:357)
                                  at org.apache.tools.ant.Target.performTasks(Target.java:385)
                                  at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
                                  at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
                                  at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
                                  at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
                                  at org.apache.tools.ant.Main.runBuild(Main.java:698)
                                  at org.apache.tools.ant.Main.startAnt(Main.java:199)
                                  at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
                                  at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
                          Caused by: javax.persistence.PersistenceException: [PersistenceUnit: ElectrWireGen1] class or package not found
                                  at org.hibernate.ejb.Ejb3Configuration.addNamedAnnotatedClasses(Ejb3Configuration.java:1093)
                                  at org.hibernate.ejb.Ejb3Configuration.addClassesToSessionFactory(Ejb3Configuration.java:871)
                                  at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:758)
                                  at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:191)
                                  at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:253)
                                  ... 28 more
                          Caused by: java.lang.ClassNotFoundException: com.mydomain.ElectrWireGen1.model.Parameters
                                  at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1383)
                                  at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1324)
                                  at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1072)
                                  at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
                                  at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
                                  at java.lang.Class.forName0(Native Method)
                                  at java.lang.Class.forName(Class.java:247)
                                  at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:135)
                                  at org.hibernate.ejb.Ejb3Configuration.classForName(Ejb3Configuration.java:1009)
                                  at org.hibernate.ejb.Ejb3Configuration.addNamedAnnotatedClasses(Ejb3Configuration.java:1081)
                                  ... 32 more

                          Total time: 8 seconds
                          • 10. Re: Classpath problem with Oracle and seam generate
                            Sakari Isoniemi Newbie

                            Hi,


                            This is resolved in my case:


                            Seam-gen asks classpaths for action(ejb), modeland test.
                            There was error in first parts of the paths releated to .jar (ejb)
                            where action and model goes to same structure.


                            Error:


                                com.mydomain.electrwiregen2.action
                                com.mydomain.ElectrWireGen2.model


                            Corrected:


                                com.mydomain.electrwiregen2.action
                                com.mydomain.electrwiregen2.model


                            Next problem is that Web app deployment fails.
                            See ticket


                                   http://seamframework.org/Community/ENCSetupFailedNullPointerExceptioncomment