javaservletsxwiki

XWiki error 500 on fresh install


I recently did a fresh install of XWiki 10.6.1 on tomcat 8.5.32 but I can't even get to the main page. I've tried using both Java 8 and Java 10 but both give identical results. I followed the instructions here: link. My permanent data directory is set to /srv/xwiki and the tomcat user owns that folder. I'm using apache derby as my database and have commented out/uncommented the sections in hibernate.cfg.xml accordingly. What am I doing wrong? My stack trace is linked below as it exceeds the maximum character allowance for stackoverflow:

Stack Trace


Solution

  • The file xwiki.derby.hbm.xml inside of WEB-INF/lib/xwiki-platform-legacy-oldcore-10.6.1.jar has a typo in the property name for the contentStore mapping. Adding a t to the name to change it from conentStore to contentStore fixes the issue.