Hi
I am attempting to build XWiki from source with the end goal of using a
debugger on it and face the following problem:
After a successful build with maven, when I deploy the war archive and
browse to xwiki, I get the following error:
javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error number
3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: Hibernate Dialect must be explicitly set
After deployment, I then edited hibernate.cfg.xml in the deployed war and
added a datasource for an xwiki database, and this made the error
disappear.
Now, I would like to do this at "compile time" already, so that a default
hypersonic database is used, and that xwiki works right after building and
deploying the war, without any manual intervention needed after building.
I hope it's more or less clear what I want... Thanks.