Hello, Evelina.
Please write full stacktrace (As i see it is not full)
I can't determine problem by this data.
See logs in xwiki.log file or stdout of mvn.
I have no problem with -Pjettyrun.
I think your problem is in database configuration. Or wrong version of
some dependencies.
Run "mvn clean install -Pjettyrun" for sure to clean old files.
Write here output of "mvn help:active-profiles -Pjettyrun". For me
active profiles is "jettyrun" and "xwiki".
Check that target/xwiki-web-standard-1.1-SNAPSHOT-hsqldb.dir/* files is
appropriate.
evelyne24(a)gmail.com wrote:
I downloaded today xwiki sources and buided with maven
as it is described on community->building, the run mvn install -Pjettyrun (the command
was changed recently...as far as I remember it was another one...) anyway, the server
starts, and in browser at localhost:8080 I see XWiki home page, but when I try to go to
it, I have the following error:
HTTP ERROR: 500
Error number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: null
RequestURI=/xwiki/bin/view/Main/WebHome
Caused by:
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki
context
Wrapped Exception: null
--
Artem Melentyev, UralSU