posted 10 years ago
I have a simple SpringMVC app that works when I run it with Eclipse/Tomcat. This version of my Guestbook application does no authentication/authorization.
Since I'd like to automate some integration tests, I thought I would try out "mvn jetty:run".
This works if I use the following in persistence.xml:
However, if I switch to Microsoft SQL Server with this for the persistence.xml:
This works with Eclipse/Tomcat but not "mvn jetty:run". Why?
Here is the error I get from "mvn jetty:run"
So why is Microsoft SQL Server incompatible with Jetty?
Ackk! This is getting downright weird!
So I kept careful notes and used version control to revert back to the version of persistence.xml that was working with Eclipse/Tomcat/MSSQL and restarted eclipse. Now that does not work either. I get this error:
I repeat: this was working and not it is not! The only thing that changed was that I edited the persistence.xml to use MySQL (and that did not work) and then, using RCS version control, reverted back to the copy that used MSSQL and now it is broken with the above error.
Any ideas?
Thanks
Siegfried