Hi,

 

I'm using oracle XE as underlying DB in appFuse 2 standard distribution.

So, on the commandline in .../web I run:

 

mvn jetty-run:war -P oracle

 

Apparently dbunit-maven-plugin connects well to the database, but then starts 
complaining about a table (user_role) that is not found:

 

[INFO] [dbunit:operation]

[INFO] 


Mazda Motor Logistics Europe NV, Blaasveldstraat 162, B-2830 Willebroek
VAT BE 406.024.281, RPR Mechelen, ING  310-0092504-52, IBAN : BE64 3100 0925 
0452, SWIFT : BBRUBEBB

---------------------------------------------------------------------

[ERROR] BUILD ERROR

[INFO] ---------------------------------------------------------------------

[INFO] Error executing database operation: CLEAN_INSERT

 

Embedded error: user_role

[INFO] -------------------------------------------------------------

..

Caused by: org.apache.maven.plugin.MojoExecutionException: Error executing datab

ase operation: CLEAN_INSERT

        at org.codehaus.mojo.dbunit.OperationMojo.execute(OperationMojo.java:110

)

        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi

nManager.java:443)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa

ultLifecycleExecutor.java:539)

        ... 20 more

Caused by: org.dbunit.dataset.NoSuchTableException: user_role

..

[INFO] ---------------------------------------------------------------------

[INFO] For more information, run Maven with the -e switch

[INFO] ---------------------------------------------------------------------

[INFO] Total time: 3 seconds

[INFO] Finished at: Wed Oct 31 13:44:19 CET 2007

[INFO] Final Memory: 7M/14M

[INFO] --------------------------------------------------------------------

 

Why aren't the tables generated automatically? 

Do I have to create them manually?

What am I missing here?

 

Kind regards

Christian Bonami

Reply via email to