But if you're using hibernate 3.2.5.ga, the hibernate team split Oracle9Dialect into Oracle9iDialect and Oracle10gDialect
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2665 On Nov 12, 2007 11:16 PM, Josef Cacek <[EMAIL PROTECTED]> wrote: > Don't use Oracle9iDialect in the .pom file, but only Oracle9Dialect > (it's "deprecated", but some tasks still need it). > -- jc. > > On Nov 12, 2007 9:26 AM, Matthew Wu <[EMAIL PROTECTED]> wrote: > > Today, when I execute "mvn appfuse:gen-model". there is a error says: > > [INFO] Scanning for projects... [INFO] Searching repository for plugin > with > > prefix: 'appfuse'. [INFO] > > > ---------------------------------------------------------------------------- > > [INFO] Building AppFuse Struts 2 Application [INFO] task-segment: > > [appfuse:gen-model] [INFO] > > > ---------------------------------------------------------------------------- > > [INFO] Preparing appfuse:gen-model [INFO] [aspectj:compile {execution: > > default}] [INFO] [native2ascii:native2ascii {execution: > native2ascii-utf8}] > > [INFO] [native2ascii:native2ascii {execution: native2ascii-8859_1}] > [INFO] > > [resources:resources] [INFO] Using default encoding to copy filtered > > resources. [INFO] [appfuse:gen-model] [INFO] Configuration XML file > loaded: > > D:\AppFuse2-MySQL5\myproject\src\main\resources\hibernate.cfg.xml [INFO] > > Configuration Properties file loaded: > > D:\AppFuse2-MySQL5\myproject\target\classes\jdbc.properties [INFO] > > ------------------------------------------------------------------------ > > [ERROR] FATAL ERROR [INFO] > > ------------------------------------------------------------------------ > > [INFO] Dialect class not found: org.hibernate.dialect.Oracle9iDialect[INFO] > > ------------------------------------------------------------------------ > > [INFO] Trace org.hibernate.HibernateException: Dialect class not found: > > org.hibernate.dialect.Oracle9iDialect at > > org.hibernate.dialect.DialectFactory.buildDialect(DialectFactory.java:81) > at > > org.hibernate.dialect.DialectFactory.buildDialect(DialectFactory.java:42) > at > > org.hibernate.cfg.SettingsFactory.determineDialect(SettingsFactory.java > :409) > > at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java > :119) > > I don't know why. Thanks a lot. > > ________________________________ > > View this message in context: Dialect class not found: > > org.hibernate.dialect.Oracle9iDialect > > Sent from the AppFuse - User mailing list archive at Nabble.com. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- /fadhli
