Maybe, it could be a conflict with some other library, I can see from Maven dependency tree that when it packages EAR it removes many artifacts for avoiding duplicates or conflicts, so I cannot understand what's the problem...
On 2017-01-25 10:09 (+0100), Jörn Franke <jornfra...@gmail.com> wrote: > Might be that one dependency loads a different version of the parser? > > > On 25 Jan 2017, at 10:04, Christian Castelli <christian.caste...@habble.it> > > wrote: > > > > Hi all, > > when I deploy my web application on a different machine other than mine I > > receive this Exception when I try to open XLSX files with > > > > Workbook wb = WorkbookFactory.create(new File(IVENTORY_TEMPLATE)); > > > > java.lang.ClassCastException: > > org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast > > to org.apache.xerces.xni.parser.XMLParserConfiguration > > > > I'm using POI 3.15 in a multi-module maven web application (web, ejb, jpa) > > packaged as an EAR archive. I've attached here the complete stacktrace and > > my maven dependency tree from EAR project. Can you spot a misconfiguration > > or do you have any advice on how to solve this issue? We're pretty sure > > there's nothing wrong with the Excel files (created both with Excel 2007 > > and OpenOffice). > > Thanks in advance. > > > > -- > > Christian Castelli > > Senior Developer > > > > > > Habble Srl > > Via della Canapiglia, 5 > > 56019 Vecchiano (Pi) - Italy > > Lat: 43° 46' 53.03" N > > Long: 10° 20' 10.36" E > > Help Desk: +39 050 6397490 > > E-Fax:+39 050 6390236 > > Web: http://www.habble.it > > Skype id: christrack > > LinkedIn: christian.castelli > > > > Rispetta l'ambiente, stampa questa mail solo se veramente necessario. > > <stacktrace.txt> > > <mvn_tree_dependencies.txt> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscr...@poi.apache.org > > For additional commands, e-mail: user-h...@poi.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@poi.apache.org For additional commands, e-mail: user-h...@poi.apache.org