On Mar 18, 2008, at 9:46 AM, Paolo Scopa wrote:


SORRYYYYYYYYYYY
I feel so stupid
I tried  mvn -Ph2 jetty:run-war
and it works fine now.

I have one last thing, in eclipse the file src/test/resource/login.xml
reports this error

The markup in the document following the root element must be well- formed.

Everything works but the red bullet is a bit annoying.
Is that normal?

Yes, this is a known issue. You can safely ignore it as it only causes warnings, not errors.

Matt




Paolo Scopa wrote:

Hi Matt,
I runned the same test and it works fine for me too
I have the problem when i run "mvn jetty:run-war"
Paolo



mraible wrote:

I just tried creating a basic Spring MVC project (version 2.0.1) and
then running "mvn test -Ph2" and it worked fine for me (JDK 5, OS X).

Matt

On 3/18/08, Paolo Scopa <[EMAIL PROTECTED]> wrote:

 Hi,
i am now trying to run the application. The only change i made is to
use H2
 database instead of mysql, using driver version 1.0.67

 executing mvn jetty:run-war i receive the following error

 ...
 [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
 ...

 I investigated a bit more but it looks like boolean values are not
accepted
for some reason (H2 has a boolean type and true/false are valid values
in
 sql commands).

I made changes in all *data.xml to change boolean values from 0/1 to
Y/N,
 then T/F and eventually true/false.
 Nothing seems to work.
 Any idea what i should insert there?

 Thanks
 Paolo


 --
 View this message in context:
http://www.nabble.com/H2-database-issue- tp16121284s2369p16121284.html
 Sent from the AppFuse - User mailing list archive at Nabble.com.


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



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






--
View this message in context: http://www.nabble.com/H2-database- issue-tp16121284s2369p16123853.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


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



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

Reply via email to