Thanks a lot! There were some junk characters at the beginning of the
sample-data.xml. Matt, you are a genius!

nmall wrote:
> 
> Hi,
> 
>  Things were working quite well with appfuse m4 and suddenly I am getting
> this error from mvn  -e integration-test or mvn -e jetty:run-war for that
> matter.
> 
>  [INFO] [compiler:testCompile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [dbunit:operation {execution: test-compile}]
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error executing database operation: CLEAN_INSERT
> 
> Embedded error: org.xml.sax.SAXParseException: Content is not allowed in
> prolog.
> 
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Error executing
> database
>  operation: CLEAN_INSERT
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> ultLifecycleExecutor.java:564)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
> fecycle(DefaultLifecycleExecutor.java:480)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
> ltLifecycleExecutor.java:459)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> dleFailures(DefaultLifecycleExecutor.java:311)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> ts(DefaultLifecycleExecutor.java:278)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
> fecycleExecutor.java:143)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> 
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> 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)
>         ... 16 more
> Caused by: org.dbunit.dataset.DataSetException:
> org.xml.sax.SAXParseException: C
> ontent is not allowed in prolog.
>         at
> org.dbunit.dataset.xml.XmlProducer.produce(XmlProducer.java:121)
>         at org.dbunit.dataset.CachedDataSet.<init>(CachedDataSet.java:71)
>         at
> org.dbunit.ant.AbstractStep.getSrcDataSet(AbstractStep.java:148)
>         at org.dbunit.ant.Operation.execute(Operation.java:182)
>         at
> org.codehaus.mojo.dbunit.OperationMojo.execute(OperationMojo.java:101
> )
>         ... 18 more
> 
> Any ideas why this would happen. I looked in my pom.xml and there was
> nothing unusual. Thanks for your help!
> 
> 
> 
>  http://www.nabble.com/file/7930/pom.xml pom.xml 
> 

-- 
View this message in context: 
http://www.nabble.com/build-error-from-mvn-integraton-test-tf3593356s2369.html#a10043462
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to