You likely have two entries in sample-data.xml with the same email
address which appears to be the primary key for your users table.
What is failing is dbunit, the maven plugin that loads your db with
test data from sample-data.xml.
Change one of the email addresses and it should remove that error.
On Nov 27, 2009, at 7:06 AM, lqhart <lqh...@126.com> wrote:
Hi Matt,
I have done(changed configration in pom file) as you said, It works
successfully when I run Mvn,But When I run the " mvn jetty:run-
war" ,I could
visit by the http://localhost:8080
Please see all the belowing error message, which are from the
stack,When I
run the jetty,It stop the last line "[INFO] Starting scanner at
interval of
3 seconds."
are they successful?How to solve the belowing Error Message and
Exception?
1)ERROR - JDBCExceptionReporter.logExceptions(101) | Duplicate entry
'matt_raible@
yahoo.com' for key 'email'
2)ERROR - AbstractFlushingEventListener.performExecutions(324) |
Could not
synchro
nize database state with session
Thanks,
Art Lingbo Liu
D:\Source\myproject>mvn jetty:run-war | more
[INFO] Scanning for projects...
[INFO]
---
---------------------------------------------------------------------
[INFO] Building AppFuse Struts 2 Application
[INFO] task-segment: [jetty:run-war]
[INFO]
---
---------------------------------------------------------------------
[INFO] Preparing jetty:run-war
[INFO] [aspectj:compile {execution: default}]
[INFO] [native2ascii:native2ascii {execution: native2ascii-utf8}]
[INFO] [native2ascii:native2ascii {execution: native2ascii-8859_1}]
[INFO] [resources:resources {execution: default-resources}]
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net