It is jdk 1.6 from SUN java -version java version "1.6.0_20" Java(TM) SE Runtime Environment (build 1.6.0_20-b02) Java HotSpot(TM) Server VM (build 16.3-b01, mixed mode)
On Wed, Jul 14, 2010 at 9:56 AM, Kris Schneider <kschnei...@gmail.com>wrote: > You wouldn't happen to be using JDK 1.4 on CentOS, would you? The > emptyMap method showed up in JDK 1.5... > > On Wed, Jul 14, 2010 at 9:35 AM, testwreq wreq <testw...@gmail.com> wrote: > > I have a piece of code that retrieves data from oracle database XML type. > It > > works on tomcat installation on ubuntu. But fails on CentOS. Any ideas? > > > > > > java.lang.NoSuchMethodError: method java.util.Collections.emptyMap > > with signature ()Ljava.util.Map; was not found. > > javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:337) > > javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:244) > > gdb.UnmarshallerAPI.unmarshalAdvisors(UnmarshallerAPI.java:80) > > > > gdb.ReportBeanStudent.studentSearchByNameWithDetails(ReportBeanStudent.java:581) > > > gdb.ProcessInput.listInfoAboutStudentsinDetail(ProcessInput.java:688) > > gdb.ProcessInput.doPost(ProcessInput.java:116) > > javax.servlet.http.HttpServlet.service( > tomcat5-servlet-2.4-api-5.5.23.jar.so) > > javax.servlet.http.HttpServlet.service( > tomcat5-servlet-2.4-api-5.5.23.jar.so) > > > > Thanks,vm > > -- > Kris Schneider > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >