Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
10.1
-
Unknown
-
N/A
-
N/A
-
Description
This seems to be because Tomcat 7 embeds el-api 2.2 and refuse to load the 3.0 one with:
INFO: validateJarFile(/usr/lib/xwiki/WEB-INF/lib/javax.el-3.0.0.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/el/Expression.class
Unfortunately crashes hibernate storage.
Works fine on Tomcat 8.
Here is a workaround in <xwikiapp>/WEB-INF/lib/ folder:
- delete the following jars:
- javax.el-3.0.0.jar
- hibernate-validator-6.0.7.Final.jar
- replace with the following jars:
Attachments
Issue Links
- is related to
-
XCOMMONS-461 Upgrade to Bean Validation 2.0
- Closed
- relates to
-
XCOMMONS-1395 Put back Hibernate Validator 4.3.2
- Closed
-
XCOMMONS-1363 Upgrade to Bean Validation 2.0.2
- Closed