| org.dom4j.io.STAXEventReader was used in the MappingBinder class starting from 5.0.1.Final, which means we need to upgrade to dom4j-1.6.1. We're currently on dom4j-1.4 and have over 50 plugins which depend on this version of dom4j, so it's a considerable effort for us and our vendors to upgrade and we have strict code standards which means we can't just work around the NoClassDefFoundException without performing the dom4j upgrade. STAXEventReader is only needed when using JPA xml mappings, which we won't be using. Can this be moved to another class to avoid NoClassDefFoundException (this would be a very small code change), or alternatively remove usage of STAXEventReader altogether? |