This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes java.lang.NoSuchFieldError: EMPTY_ORDERED_ITERATOR   Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "java.lang.NoSuchFieldError: EMPTY_ORDERED_ITERATOR   " Watch "java.lang.NoSuchFieldError: EMPTY_ORDERED_ITERATOR   " New topic
Author

java.lang.NoSuchFieldError: EMPTY_ORDERED_ITERATOR

saru mithra
Greenhorn

Joined: Apr 16, 2008
Posts: 6
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

Joined: Apr 16, 2008
Posts: 6
Can anyone please help me on my error?

Thanks in advance
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

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?


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
saru mithra
Greenhorn

Joined: Apr 16, 2008
Posts: 6
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.lang.NoSuchFieldError: EMPTY_ORDERED_ITERATOR
 
Similar Threads
Error: problem parsing configuration / hibernate.cfg.xml
Getting error----NoContextLoaderListener registered
Hibernate mapping issue in Spring WEB MVC
java.lang.NoSuchMethodError
Document root element "beans", must match DOCTYPE root "null" in eclipse