Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.lang.NoSuchFieldError: EMPTY_ORDERED_ITERATOR

 
saru mithra
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I tried the sample cart application from the site http://www.roseindia.net/opensource/cart1.1.zip. I used tomcat 5.5 and mySQL 5.1. I followed the steps given in the above site.
when I submit "http://localhost:8080/cart" I received the following error.

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Servlet execution threw an exception

root cause

java.lang.NoSuchFieldError: EMPTY_ORDERED_ITERATOR
org.apache.commons.collections.map.AbstractLinkedMap.createValuesIterator(AbstractLinkedMap.java:482)
org.apache.commons.collections.map.AbstractHashedMap$Values.iterator(AbstractHashedMap.java:958)
java.util.AbstractCollection.toArray(Unknown Source)
java.util.ArrayList.<init>(Unknown Source)
org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:406)
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:305)
org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
org.springframework.web.context.ContextLoaderServlet.init(ContextLoaderServlet.java:83)
javax.servlet.GenericServlet.init(GenericServlet.java:211)
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:910)
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:873)
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
org.apache.catalina.startup.Catalina.start(Catalina.java:540)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)


note The full stack trace of the root cause is available in the Apache Tomcat/5.5.11 logs.

Please help me to solve the problem.
 
saru mithra
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone please help me on my error?

Thanks in advance
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This doesn't sound like a Tomcat issue to me.
Have you checked with RoseIndia to see if this is a known issue on their end?
 
saru mithra
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes i have posted the same issue with roseindia.net also. I am yet to get a reply. When i was searching into google for any such similar issues. I found that using an outdated version of commons collections JAR in the classpath may be the problem. Can you provide me the steps to update the latest collections JAR file and also to where and how upload it in my computer. I am a beginner to java and just learning coding by myself
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic