Hi Max,
Have found another issue. WHen I generate my DaoINterfaces and DaoImplementations I end up with my classes generated but Ant gives me an Exception.
Code:
[hibernatetool] freemarker.template.TemplateModelException: No signature of method getJavaTypeName matches (java.lang.Ob
ject,java.lang.Boolean)
I think that this is why I do not see any of the named queries I put in the appUser.hbm.xml...
Here is the full stacktrace:
Code:
C:\DevArea\MyCompanyPersistence>ant generateHibernateDaoInterfaceClasses -verbose
Apache Ant version 1.6.5 compiled on June 2 2005
Buildfile: build.xml
Detected Java version: 1.5 in: C:\jdk1.5.0_06\jre
Detected OS: Windows XP
parsing buildfile C:\DevArea\MyCompanyPersistence\build.xml with URI = file:///C:/DevArea/MyCompanyPersistence/build
.xml
Project base dir set to: C:\DevArea\MyCompanyPersistence
[property] Loading Environment env.
Overriding previous definition of reference to pathToToolsLib
Build sequence for target(s) `generateHibernateDaoInterfaceClasses' is [generateHibernateDomainObjects, generateHibernat
eDaoInterfaceClasses]
Complete build sequence is [generateHibernateDomainObjects, generateHibernateDaoInterfaceClasses, generateHibernateDaoIm
plClasses, prepare-mapping, help, compile, generateHibernateMappings, generateHibernateCfgXml, ]
generateHibernateDomainObjects:
Property ${pathToToolsLib} has not been set
[echo] ${pathToToolsLib}
[hibernatetool] Executing Hibernate Tool with a Standard Configuration
[hibernatetool] 1. task: hbm2java (Generates a set of .java files)
[hibernatetool] Jul 17, 2006 5:31:07 PM org.hibernate.cfg.Environment <clinit>
[hibernatetool] INFO: Hibernate 3.2 cr2
[hibernatetool] Jul 17, 2006 5:31:07 PM org.hibernate.cfg.Environment <clinit>
[hibernatetool] INFO: hibernate.properties not found
[hibernatetool] Jul 17, 2006 5:31:07 PM org.hibernate.cfg.Environment buildBytecodeProvider
[hibernatetool] INFO: Bytecode provider name : cglib
[hibernatetool] Jul 17, 2006 5:31:07 PM org.hibernate.cfg.Environment <clinit>
[hibernatetool] INFO: using JDK 1.4 java.sql.Timestamp handling
[hibernatetool] Jul 17, 2006 5:31:07 PM org.hibernate.cfg.Configuration configure
[hibernatetool] INFO: configuring from file: hibernate.cfg.xml
[hibernatetool] Jul 17, 2006 5:31:07 PM org.hibernate.cfg.Environment verifyProperties
[hibernatetool] WARNING: Property [hibernate.cglib.use_reflection_optimizer] has been renamed to [hibernate.bytecode.use
_reflection_optimizer]; update your properties appropriately
[hibernatetool] Jul 17, 2006 5:31:07 PM org.hibernate.cfg.Configuration doConfigure
[hibernatetool] INFO: Configured SessionFactory: null
[hibernatetool] Jul 17, 2006 5:31:07 PM org.hibernate.tool.hbm2x.Version <clinit>
[hibernatetool] INFO: Hibernate Tools 3.1.0.beta5
generateHibernateDaoInterfaceClasses:
[hibernatetool] Executing Hibernate Tool with a JDBC Configuration (for reverse engineering)
[hibernatetool] 1. task: generic exporter
[hibernatetool] Jul 17, 2006 5:31:07 PM org.hibernate.cfg.Configuration configure
[hibernatetool] INFO: configuring from file: hibernate.cfg.xml
[hibernatetool] Jul 17, 2006 5:31:07 PM org.hibernate.cfg.Environment verifyProperties
[hibernatetool] WARNING: Property [hibernate.cglib.use_reflection_optimizer] has been renamed to [hibernate.bytecode.use
_reflection_optimizer]; update your properties appropriately
[hibernatetool] Jul 17, 2006 5:31:07 PM org.hibernate.cfg.Configuration doConfigure
[hibernatetool] INFO: Configured SessionFactory: null
[hibernatetool] Jul 17, 2006 5:31:08 PM org.hibernate.cfg.reveng.OverrideRepository addFile
[hibernatetool] INFO: Override file: C:\DevArea\MyCompanyPersistence\hibernate\hibernate.reveng.xml
[hibernatetool] Jul 17, 2006 5:31:08 PM org.hibernate.connection.DriverManagerConnectionProvider configure
[hibernatetool] INFO: Using Hibernate built-in connection pool (not for production use!)
[hibernatetool] Jul 17, 2006 5:31:08 PM org.hibernate.connection.DriverManagerConnectionProvider configure
[hibernatetool] INFO: Hibernate connection pool size: 20
[hibernatetool] Jul 17, 2006 5:31:08 PM org.hibernate.connection.DriverManagerConnectionProvider configure
[hibernatetool] INFO: autocommit mode: false
[hibernatetool] Jul 17, 2006 5:31:08 PM org.hibernate.connection.DriverManagerConnectionProvider configure
[hibernatetool] INFO: using driver: oracle.jdbc.driver.OracleDriver at URL: jdbc:oracle:thin:@spongebob.ic:1521:DEV
[hibernatetool] Jul 17, 2006 5:31:08 PM org.hibernate.connection.DriverManagerConnectionProvider configure
[hibernatetool] INFO: connection properties: {user=INVWEB, password=****}
[hibernatetool] Jul 17, 2006 5:31:08 PM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: RDBMS: Oracle, version: Oracle8i Release 8.1.7.2.0 - Production
[hibernatetool] JServer Release 8.1.7.2.0 - Production
[hibernatetool] Jul 17, 2006 5:31:08 PM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: JDBC driver: Oracle JDBC driver, version: 10.1.0.4.0
[hibernatetool] Jul 17, 2006 5:31:08 PM org.hibernate.dialect.Dialect <init>
[hibernatetool] INFO: Using dialect: org.hibernate.dialect.OracleDialect
[hibernatetool] Jul 17, 2006 5:31:08 PM org.hibernate.transaction.TransactionFactoryFactory buildTransactionFactory
[hibernatetool] INFO: Using default transaction strategy (direct JDBC transactions)
[hibernatetool] Jul 17, 2006 5:31:08 PM org.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerL
ookup
[hibernatetool] INFO: No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional sec
ond-level cache is not recommended)
[hibernatetool] Jul 17, 2006 5:31:08 PM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: Automatic flush during beforeCompletion(): disabled
[hibernatetool] Jul 17, 2006 5:31:08 PM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: Automatic session close at end of transaction: disabled
[hibernatetool] Jul 17, 2006 5:31:08 PM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: JDBC batch size: 15
[hibernatetool] Jul 17, 2006 5:31:08 PM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: JDBC batch updates for versioned data: disabled
[hibernatetool] Jul 17, 2006 5:31:08 PM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: Scrollable result sets: enabled
[hibernatetool] Jul 17, 2006 5:31:08 PM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: JDBC3 getGeneratedKeys(): disabled
[hibernatetool] Jul 17, 2006 5:31:08 PM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: Connection release mode: auto
[hibernatetool] Jul 17, 2006 5:31:08 PM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: Default batch fetch size: 1
[hibernatetool] Jul 17, 2006 5:31:08 PM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: Generate SQL with comments: disabled
[hibernatetool] Jul 17, 2006 5:31:08 PM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: Order SQL updates by primary key: disabled
[hibernatetool] Jul 17, 2006 5:31:08 PM org.hibernate.cfg.SettingsFactory createQueryTranslatorFactory
[hibernatetool] INFO: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
[hibernatetool] Jul 17, 2006 5:31:08 PM org.hibernate.hql.ast.ASTQueryTranslatorFactory <init>
[hibernatetool] INFO: Using ASTQueryTranslatorFactory
[hibernatetool] Jul 17, 2006 5:31:08 PM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: Query language substitutions: {}
[hibernatetool] Jul 17, 2006 5:31:08 PM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: JPA-QL strict compliance: disabled
[hibernatetool] Jul 17, 2006 5:31:08 PM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: Second-level cache: enabled
[hibernatetool] Jul 17, 2006 5:31:08 PM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: Query cache: disabled
[hibernatetool] Jul 17, 2006 5:31:08 PM org.hibernate.cfg.SettingsFactory createCacheProvider
[hibernatetool] INFO: Cache provider: org.hibernate.cache.NoCacheProvider
[hibernatetool] Jul 17, 2006 5:31:08 PM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: Optimize cache for minimal puts: disabled
[hibernatetool] Jul 17, 2006 5:31:08 PM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: Structured second-level cache entries: disabled
[hibernatetool] Jul 17, 2006 5:31:08 PM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: Echoing all SQL to stdout
[hibernatetool] Jul 17, 2006 5:31:08 PM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: Statistics: disabled
[hibernatetool] Jul 17, 2006 5:31:08 PM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: Deleted entity synthetic identifier rollback: disabled
[hibernatetool] Jul 17, 2006 5:31:08 PM org.hibernate.cfg.SettingsFactory buildSettings
[hibernatetool] INFO: Default entity-mode: pojo
[hibernatetool] Jul 17, 2006 5:31:09 PM org.hibernate.cfg.reveng.JDBCReader processIndices
[hibernatetool] WARNING: Exception while trying to get indexinfo on MySchema.APP_USER=Exception while getting index info f
or MySchema.APP_USER
[hibernatetool] Jul 17, 2006 5:31:09 PM org.hibernate.cfg.reveng.JDBCReader processIndices
[hibernatetool] WARNING: Exception while trying to get indexinfo on MySchema.APP_USER_ROLE=Exception while getting index i
nfo for MySchema.APP_USER_ROLE
[hibernatetool] Jul 17, 2006 5:31:09 PM org.hibernate.cfg.reveng.JDBCReader processIndices
[hibernatetool] WARNING: Exception while trying to get indexinfo on MySchema.CUSTOMER=Exception while getting index info f
or MySchema.CUSTOMER
[hibernatetool] Jul 17, 2006 5:31:09 PM org.hibernate.cfg.reveng.JDBCReader processIndices
[hibernatetool] WARNING: Exception while trying to get indexinfo on MySchema.CUSTOMER_ACCOUNT=Exception while getting inde
x info for MySchema.CUSTOMER_ACCOUNT
[hibernatetool] Jul 17, 2006 5:31:09 PM org.hibernate.cfg.reveng.JDBCReader processIndices
[hibernatetool] WARNING: Exception while trying to get indexinfo on MySchema.CUSTOMER_ADDRESS=Exception while getting inde
x info for MySchema.CUSTOMER_ADDRESS
[hibernatetool] Jul 17, 2006 5:31:09 PM org.hibernate.cfg.reveng.JDBCReader processIndices
[hibernatetool] WARNING: Exception while trying to get indexinfo on MySchema.CUSTOMER_EMAIL=Exception while getting index
info for MySchema.CUSTOMER_EMAIL
[hibernatetool] Jul 17, 2006 5:31:09 PM org.hibernate.cfg.reveng.JDBCReader processIndices
[hibernatetool] WARNING: Exception while trying to get indexinfo on MySchema.CUSTOMER_PHONE=Exception while getting index
info for MySchema.CUSTOMER_PHONE
[hibernatetool] Jul 17, 2006 5:31:09 PM org.hibernate.cfg.reveng.JDBCReader processIndices
[hibernatetool] WARNING: Exception while trying to get indexinfo on MySchema.CUST_ACCT=Exception while getting index info
for MySchema.CUST_ACCT
[hibernatetool] Jul 17, 2006 5:31:09 PM org.hibernate.cfg.reveng.JDBCReader processIndices
[hibernatetool] WARNING: Exception while trying to get indexinfo on MySchema.MF_DIRECT_FIN_ACTIVITY=Exception while gettin
g index info for MySchema.MF_DIRECT_FIN_ACTIVITY
[hibernatetool] Jul 17, 2006 5:31:09 PM org.hibernate.cfg.reveng.JDBCReader processIndices
[hibernatetool] WARNING: Exception while trying to get indexinfo on MySchema.MF_DISTRIBUTION=Exception while getting index
info for MySchema.MF_DISTRIBUTION
[hibernatetool] Jul 17, 2006 5:31:09 PM org.hibernate.cfg.reveng.JDBCReader processIndices
[hibernatetool] WARNING: Exception while trying to get indexinfo on MySchema.MF_NAME_ADDRESS=Exception while getting index
info for MySchema.MF_NAME_ADDRESS
[hibernatetool] Jul 17, 2006 5:31:09 PM org.hibernate.cfg.reveng.JDBCReader processIndices
[hibernatetool] WARNING: Exception while trying to get indexinfo on MySchema.MF_POSITION_CURRENT=Exception while getting i
ndex info for MySchema.MF_POSITION_CURRENT
[hibernatetool] Jul 17, 2006 5:31:09 PM org.hibernate.cfg.reveng.JDBCReader processIndices
[hibernatetool] WARNING: Exception while trying to get indexinfo on MySchema.MF_SPONSOR=Exception while getting index info
for MySchema.MF_SPONSOR
[hibernatetool] Jul 17, 2006 5:31:09 PM org.hibernate.cfg.reveng.JDBCReader processIndices
[hibernatetool] WARNING: Exception while trying to get indexinfo on MySchema.TRADING_ACCOUNT=Exception while getting index
info for MySchema.TRADING_ACCOUNT
[hibernatetool] Jul 17, 2006 5:31:09 PM org.hibernate.cfg.reveng.JDBCReader processIndices
[hibernatetool] WARNING: Exception while trying to get indexinfo on MySchema.TRADING_ACTIVITY=Exception while getting inde
x info for MySchema.TRADING_ACTIVITY
[hibernatetool] Jul 17, 2006 5:31:09 PM org.hibernate.cfg.reveng.JDBCReader processIndices
[hibernatetool] WARNING: Exception while trying to get indexinfo on MySchema.TRADING_BALANCE=Exception while getting index
info for MySchema.TRADING_BALANCE
[hibernatetool] Jul 17, 2006 5:31:09 PM org.hibernate.cfg.reveng.JDBCReader processIndices
[hibernatetool] WARNING: Exception while trying to get indexinfo on MySchema.TRADING_OPEN_ORDER=Exception while getting in
dex info for MySchema.TRADING_OPEN_ORDER
[hibernatetool] Jul 17, 2006 5:31:09 PM org.hibernate.cfg.reveng.JDBCReader processIndices
[hibernatetool] WARNING: Exception while trying to get indexinfo on MySchema.TRADING_PERFORMANCE=Exception while getting i
ndex info for MySchema.TRADING_PERFORMANCE
[hibernatetool] Jul 17, 2006 5:31:09 PM org.hibernate.cfg.reveng.JDBCReader processIndices
[hibernatetool] WARNING: Exception while trying to get indexinfo on MySchema.TRADING_POSITION=Exception while getting inde
x info for MySchema.TRADING_POSITION
[hibernatetool] Jul 17, 2006 5:31:10 PM org.hibernate.connection.DriverManagerConnectionProvider close
[hibernatetool] INFO: cleaning up connection pool: jdbc:oracle:thin:@spongebob.ic:1521:DEV
[hibernatetool] Jul 17, 2006 5:31:10 PM org.hibernate.tool.hbm2x.TemplateProducer produce
[hibernatetool] INFO: Writing daointerface.ftl to C:\DevArea\MyCompanyPersistence\src\main\java\com\MyCompany\persis
tence\dao\JacobAppUserRoleDao.java
[hibernatetool] Jul 17, 2006 5:31:10 PM org.hibernate.tool.hbm2x.TemplateProducer produce
[hibernatetool] INFO: Writing daointerface.ftl to C:\DevArea\MyCompanyPersistence\src\main\java\com\MyCompany\persis
tence\dao\CustomerPhoneDao.java
[hibernatetool] Jul 17, 2006 5:31:10 PM org.hibernate.tool.hbm2x.TemplateProducer produce
[hibernatetool] INFO: Writing daointerface.ftl to C:\DevArea\MyCompanyPersistence\src\main\java\com\MyCompany\persis
tence\dao\TradingAccountDao.java
[hibernatetool] Jul 17, 2006 5:31:10 PM org.hibernate.tool.hbm2x.TemplateProducer produce
[hibernatetool] INFO: Writing daointerface.ftl to C:\DevArea\MyCompanyPersistence\src\main\java\com\MyCompany\persis
tence\dao\CustomerAccountDao.java
[hibernatetool] Jul 17, 2006 5:31:10 PM org.hibernate.tool.hbm2x.TemplateProducer produce
[hibernatetool] INFO: Writing daointerface.ftl to C:\DevArea\MyCompanyPersistence\src\main\java\com\MyCompany\persis
tence\dao\MfDistributionDao.java
[hibernatetool] Jul 17, 2006 5:31:10 PM org.hibernate.tool.hbm2x.TemplateProducer produce
[hibernatetool] INFO: Writing daointerface.ftl to C:\DevArea\MyCompanyPersistence\src\main\java\com\MyCompany\persis
tence\dao\AppUserRoleDao.java
[hibernatetool] Jul 17, 2006 5:31:10 PM org.hibernate.tool.hbm2x.TemplateProducer produce
[hibernatetool] INFO: Writing daointerface.ftl to C:\DevArea\MyCompanyPersistence\src\main\java\com\MyCompany\persis
tence\dao\MfDirectFinActivityDao.java
[hibernatetool] Jul 17, 2006 5:31:10 PM org.hibernate.tool.hbm2x.TemplateProducer produce
[hibernatetool] INFO: Writing daointerface.ftl to C:\DevArea\MyCompanyPersistence\src\main\java\com\MyCompany\persis
tence\dao\MfSponsorDao.java
[hibernatetool] Jul 17, 2006 5:31:10 PM org.hibernate.tool.hbm2x.TemplateProducer produce
[hibernatetool] INFO: Writing daointerface.ftl to C:\DevArea\MyCompanyPersistence\src\main\java\com\MyCompany\persis
tence\dao\CustomerDao.java
[hibernatetool] Jul 17, 2006 5:31:10 PM org.hibernate.tool.hbm2x.TemplateProducer produce
[hibernatetool] INFO: Writing daointerface.ftl to C:\DevArea\MyCompanyPersistence\src\main\java\com\MyCompany\persis
tence\dao\MfNameAddressDao.java
[hibernatetool] Jul 17, 2006 5:31:10 PM org.hibernate.tool.hbm2x.TemplateProducer produce
[hibernatetool] INFO: Writing daointerface.ftl to C:\DevArea\MyCompanyPersistence\src\main\java\com\MyCompany\persis
tence\dao\TradingActivityDao.java
[hibernatetool] Jul 17, 2006 5:31:10 PM org.hibernate.tool.hbm2x.TemplateProducer produce
[hibernatetool] INFO: Writing daointerface.ftl to C:\DevArea\MyCompanyPersistence\src\main\java\com\MyCompany\persis
tence\dao\TradingOpenOrderDao.java
[hibernatetool] Jul 17, 2006 5:31:10 PM org.hibernate.tool.hbm2x.TemplateProducer produce
[hibernatetool] INFO: Writing daointerface.ftl to C:\DevArea\MyCompanyPersistence\src\main\java\com\MyCompany\persis
tence\dao\TradingPerformanceDao.java
[hibernatetool] Jul 17, 2006 5:31:10 PM org.hibernate.tool.hbm2x.TemplateProducer produce
[hibernatetool] INFO: Writing daointerface.ftl to C:\DevArea\MyCompanyPersistence\src\main\java\com\MyCompany\persis
tence\dao\TradingBalanceDao.java
[hibernatetool] Jul 17, 2006 5:31:10 PM org.hibernate.tool.hbm2x.TemplateProducer produce
[hibernatetool] INFO: Writing daointerface.ftl to C:\DevArea\MyCompanyPersistence\src\main\java\com\MyCompany\persis
tence\dao\CustomerEmailDao.java
[hibernatetool] Jul 17, 2006 5:31:10 PM org.hibernate.tool.hbm2x.TemplateProducer produce
[hibernatetool] INFO: Writing daointerface.ftl to C:\DevArea\MyCompanyPersistence\src\main\java\com\MyCompany\persis
tence\dao\JacobAppUserDao.java
[hibernatetool] Jul 17, 2006 5:31:10 PM org.hibernate.tool.hbm2x.TemplateProducer produce
[hibernatetool] INFO: Writing daointerface.ftl to C:\DevArea\MyCompanyPersistence\src\main\java\com\MyCompany\persis
tence\dao\TradingPositionDao.java
[hibernatetool] Jul 17, 2006 5:31:10 PM org.hibernate.tool.hbm2x.TemplateProducer produce
[hibernatetool] INFO: Writing daointerface.ftl to C:\DevArea\MyCompanyPersistence\src\main\java\com\MyCompany\persis
tence\dao\MfPositionCurrentDao.java
[hibernatetool] Jul 17, 2006 5:31:10 PM org.hibernate.tool.hbm2x.TemplateProducer produce
[hibernatetool] INFO: Writing daointerface.ftl to C:\DevArea\MyCompanyPersistence\src\main\java\com\MyCompany\persis
tence\dao\CustomerAddressDao.java
[hibernatetool] Jul 17, 2006 5:31:10 PM org.hibernate.tool.hbm2x.TemplateProducer produce
[hibernatetool] INFO: Writing daointerface.ftl to C:\DevArea\MyCompanyPersistence\src\main\java\com\MyCompany\persis
tence\dao\AppUserDao.java
[hibernatetool] Jul 17, 2006 5:31:10 PM org.hibernate.tool.hbm2x.TemplateProducer produce
[hibernatetool] INFO: Writing daointerface.ftl to C:\DevArea\MyCompanyPersistence\src\main\java\com\MyCompany\persis
tence\dao\CustAcctDao.java
[hibernatetool] Jul 17, 2006 5:31:10 PM freemarker.log.JDK14LoggerFactory$JDK14Logger error
[hibernatetool] SEVERE:
[hibernatetool] No signature of method getJavaTypeName matches (java.lang.Object,java.lang.Boolean)
[hibernatetool] The problematic instruction:
[hibernatetool] ----------
[hibernatetool] ==> ${c2j.getJavaTypeName(clazz.identifierProperty, jdk5)} [on line 30, column 41 in daointerface.ftl]
[hibernatetool] ----------
[hibernatetool] Java backtrace for programmers:
[hibernatetool] ----------
[hibernatetool] freemarker.template.TemplateModelException: No signature of method getJavaTypeName matches (java.lang.Ob
ject,java.lang.Boolean)
[hibernatetool] at freemarker.ext.beans.MethodMap.getMostSpecific(MethodMap.java:191)
[hibernatetool] at freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:105)
[hibernatetool] at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
[hibernatetool] at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
[hibernatetool] at freemarker.core.Expression.getStringValue(Expression.java:93)
[hibernatetool] at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
[hibernatetool] at freemarker.core.Environment.visit(Environment.java:196)
[hibernatetool] at freemarker.core.MixedContent.accept(MixedContent.java:92)
[hibernatetool] at freemarker.core.Environment.visit(Environment.java:196)
[hibernatetool] at freemarker.core.Environment.visit(Environment.java:233)
[hibernatetool] at freemarker.core.BlockAssignment.accept(BlockAssignment.java:83)
[hibernatetool] at freemarker.core.Environment.visit(Environment.java:196)
[hibernatetool] at freemarker.core.MixedContent.accept(MixedContent.java:92)
[hibernatetool] at freemarker.core.Environment.visit(Environment.java:196)
[hibernatetool] at freemarker.core.Environment.process(Environment.java:176)
[hibernatetool] at freemarker.template.Template.process(Template.java:231)
[hibernatetool] at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelper.java:243)
[hibernatetool] at org.hibernate.tool.hbm2x.TemplateProducer.produceToString(TemplateProducer.java:67)
[hibernatetool] at org.hibernate.tool.hbm2x.TemplateProducer.produce(TemplateProducer.java:28)
[hibernatetool] at org.hibernate.tool.hbm2x.TemplateProducer.produce(TemplateProducer.java:97)
[hibernatetool] at org.hibernate.tool.hbm2x.GenericExporter.exportPOJO(GenericExporter.java:112)
[hibernatetool] at org.hibernate.tool.hbm2x.GenericExporter.exportComponent(GenericExporter.java:97)
[hibernatetool] at org.hibernate.tool.hbm2x.GenericExporter.exportClasses(GenericExporter.java:91)
[hibernatetool] at org.hibernate.tool.hbm2x.GenericExporter.doStart(GenericExporter.java:69)
[hibernatetool] at org.hibernate.tool.hbm2x.AbstractExporter.start(AbstractExporter.java:93)
[hibernatetool] at org.hibernate.tool.hbm2x.GenericExporter.start(GenericExporter.java:59)
[hibernatetool] at org.hibernate.tool.ant.ExporterTask.execute(ExporterTask.java:40)
[hibernatetool] at org.hibernate.tool.ant.HibernateToolTask.execute(HibernateToolTask.java:160)
[hibernatetool] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[hibernatetool] at org.apache.tools.ant.Task.perform(Task.java:364)
[hibernatetool] at org.apache.tools.ant.Target.execute(Target.java:341)
[hibernatetool] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[hibernatetool] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[hibernatetool] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[hibernatetool] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[hibernatetool] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[hibernatetool] at org.apache.tools.ant.Main.runBuild(Main.java:668)
[hibernatetool] at org.apache.tools.ant.Main.startAnt(Main.java:187)
[hibernatetool] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
[hibernatetool] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
[hibernatetool] An exception occurred while running exporter #2:generic exporter
[hibernatetool] To get the full stack trace run ant with -verbose
[hibernatetool] org.hibernate.tool.hbm2x.ExporterException: Error while processing template daointerface.ftl
[hibernatetool] freemarker.template.TemplateModelException: No signature of method getJavaTypeName matches (java.lang.Ob
ject,java.lang.Boolean)
BUILD FAILED
C:\DevArea\MyCompanyPersistence\build.xml:148: org.hibernate.tool.hbm2x.ExporterException: Error while processing temp
late daointerface.ftl
at org.hibernate.tool.ant.HibernateToolTask.reportException(HibernateToolTask.java:194)
at org.hibernate.tool.ant.HibernateToolTask.execute(HibernateToolTask.java:163)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.Main.runBuild(Main.java:668)
at org.apache.tools.ant.Main.startAnt(Main.java:187)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
Caused by: org.hibernate.tool.hbm2x.ExporterException: Error while processing template daointerface.ftl
at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelper.java:249)
at org.hibernate.tool.hbm2x.TemplateProducer.produceToString(TemplateProducer.java:67)
at org.hibernate.tool.hbm2x.TemplateProducer.produce(TemplateProducer.java:28)
at org.hibernate.tool.hbm2x.TemplateProducer.produce(TemplateProducer.java:97)
at org.hibernate.tool.hbm2x.GenericExporter.exportPOJO(GenericExporter.java:112)
at org.hibernate.tool.hbm2x.GenericExporter.exportComponent(GenericExporter.java:97)
at org.hibernate.tool.hbm2x.GenericExporter.exportClasses(GenericExporter.java:91)
at org.hibernate.tool.hbm2x.GenericExporter.doStart(GenericExporter.java:69)
at org.hibernate.tool.hbm2x.AbstractExporter.start(AbstractExporter.java:93)
at org.hibernate.tool.hbm2x.GenericExporter.start(GenericExporter.java:59)
at org.hibernate.tool.ant.ExporterTask.execute(ExporterTask.java:40)
at org.hibernate.tool.ant.HibernateToolTask.execute(HibernateToolTask.java:160)
... 12 more
Caused by: freemarker.template.TemplateModelException: No signature of method getJavaTypeName matches (java.lang.Object,
java.lang.Boolean)
at freemarker.ext.beans.MethodMap.getMostSpecific(MethodMap.java:191)
at freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:105)
at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
at freemarker.core.Expression.getStringValue(Expression.java:93)
at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
at freemarker.core.Environment.visit(Environment.java:196)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:196)
at freemarker.core.Environment.visit(Environment.java:233)
at freemarker.core.BlockAssignment.accept(BlockAssignment.java:83)
at freemarker.core.Environment.visit(Environment.java:196)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:196)
at freemarker.core.Environment.process(Environment.java:176)
at freemarker.template.Template.process(Template.java:231)
at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelper.java:243)
... 23 more
--- Nested Exception ---
org.hibernate.tool.hbm2x.ExporterException: Error while processing template daointerface.ftl
at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelper.java:249)
at org.hibernate.tool.hbm2x.TemplateProducer.produceToString(TemplateProducer.java:67)
at org.hibernate.tool.hbm2x.TemplateProducer.produce(TemplateProducer.java:28)
at org.hibernate.tool.hbm2x.TemplateProducer.produce(TemplateProducer.java:97)
at org.hibernate.tool.hbm2x.GenericExporter.exportPOJO(GenericExporter.java:112)
at org.hibernate.tool.hbm2x.GenericExporter.exportComponent(GenericExporter.java:97)
at org.hibernate.tool.hbm2x.GenericExporter.exportClasses(GenericExporter.java:91)
at org.hibernate.tool.hbm2x.GenericExporter.doStart(GenericExporter.java:69)
at org.hibernate.tool.hbm2x.AbstractExporter.start(AbstractExporter.java:93)
at org.hibernate.tool.hbm2x.GenericExporter.start(GenericExporter.java:59)
at org.hibernate.tool.ant.ExporterTask.execute(ExporterTask.java:40)
at org.hibernate.tool.ant.HibernateToolTask.execute(HibernateToolTask.java:160)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.Main.runBuild(Main.java:668)
at org.apache.tools.ant.Main.startAnt(Main.java:187)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
Caused by: freemarker.template.TemplateModelException: No signature of method getJavaTypeName matches (java.lang.Object,
java.lang.Boolean)
at freemarker.ext.beans.MethodMap.getMostSpecific(MethodMap.java:191)
at freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:105)
at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
at freemarker.core.Expression.getStringValue(Expression.java:93)
at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
at freemarker.core.Environment.visit(Environment.java:196)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:196)
at freemarker.core.Environment.visit(Environment.java:233)
at freemarker.core.BlockAssignment.accept(BlockAssignment.java:83)
at freemarker.core.Environment.visit(Environment.java:196)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:196)
at freemarker.core.Environment.process(Environment.java:176)
at freemarker.template.Template.process(Template.java:231)
at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelper.java:243)
... 23 more
Total time: 4 seconds
C:\DevArea\MyCompanyPersistence>
Any clue on how to fix this error?
BTW: is it possible to upload a file instead of pasting the entire stack trace here?
Thanks again,
Jacob