Hi, That JDK version should not caused the error, can you check if there are any other xml-related jars included in the resin-webserver? E.g. called xml-apis or xerces? What happens if you rename them away from ".jar" so they are not loaded any more when you start resin?
Dominik. On Sat, Jan 28, 2017 at 3:04 AM, <[email protected]> wrote: > I use the same jdk , tomcat good, resin bad . > > java version "1.7.0_71" > Java(TM) SE Runtime Environment (build 1.7.0_71-b14) > Java HotSpot(TM) Client VM (build 24.71-b01, mixed mode, sharing) > > > > -----Original Message----- > From: Dominik Stadler [mailto:[email protected]] > Sent: Saturday, January 28, 2017 1:18 AM > To: POI Users List > Subject: Re: An error when I use poi3.15 in a resin4 web applicatoin > > Hi, > > What exact JDK version are you using? Your error sounds similar to what we > describe at http://poi.apache.org/faq.html#faq-N101E6 > > Thanks... Dominik. > > On Fri, Jan 27, 2017 at 4:15 AM, <[email protected]> wrote: > > > It is clear that poi3.15 can't run at resin4, but poi3.9 can do it. > > I use test code from poi help, can call it from a jsp. > > Test3_9 worked but Test3_15 failed like as my code. > > > > Maybe it is a good idea down to 3.9 . > > > > Thanks at all. > > > > > > -----Original Message----- > > From: [email protected] [mailto:[email protected]] > > Sent: Wednesday, January 25, 2017 5:15 PM > > To: '[email protected]' > > Subject: An error when I use poi3.15 in a resin4 web applicatoin > > > > Hello. > > > > I made a web application which is correct in tomcat. When I put it > > into resin4, everything is good except POI3.15. > > It became not to read xlsx, but xls reading is still correct. > > > > Error info is the next line. > > > > java.lang.NoClassDefFoundError: Could not initialize class > > com.sun.org.apache.xml.internal.serializer.ToXMLStream > > > > I check every jar in POI and tomcat, but can't find the class. > > I don't know whether it is bug of POI or not when I writing the mail. > > > > I am puzzled, please give me some advice. > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] For additional > > commands, e-mail: [email protected] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
