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: 
http://www.nabble.com/Dialect-class-not-found%3A-org.hibernate.dialect.Oracle9iDialect-tf4789673s2369.html#a13701727
Sent from the AppFuse - User mailing list archive at Nabble.com.

Reply via email to