Home Tutorialhelp Comment java.lang.NoSuchFieldError

 
 

Comment

Saru
java.lang.NoSuchFieldError,
April 22, 2008 at 8:32 PM

When i run the application in Tomcat i get the following error.

HTTP Status 500 -

--------------------------------------------------------------------------------

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:212)
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
org.apache.catalina.startup.Catalina.start(Catalina.java:552)
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:295)
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)


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

Can anyone please help me to fix the error
View All Comments
Advertisement
Related Tutorial and Articles
Development process Questions

Error in Shopping Cart project - Development process
Error in Shopping Cart project  I tried running the shopping cart project given in the below link: http://www.roseindia.net/shoppingcart... when I submit "http://localhost:8080/cart" I received the following error 

Spring Framework Questions

please give me an example about shopping cart using spring and hibernate
please give me an example about shopping cart using spring and hibernate  who can give me an ex about shoppingcart using spring and hibernate intergration ? thanks alot 

Java Beginners

online shopping - Java Beginners
://www.roseindia.net/shoppingcart/index.shtml Thanks 

Struts Questions

struts - Struts
visit the following link: http://www.roseindia.net/shoppingcart/index.shtml 

Java Beginners

java projects
://www.roseindia.net/chatserver/ http://www.roseindia.net/shoppingcart 

Java Beginners

Java Project - Java Beginners
://www.roseindia.net/shoppingcart/index.shtml Thanks 

JSP Servlet Questions

java - JSP-Servlet
information. http://www.roseindia.net/shoppingcart/index.shtml Thanks 

Hibernate Questions

Java Struts - Hibernate
. http://www.roseindia.net/shoppingcart/index.shtml Thanks 

Java Beginners

how to generate code - Java Beginners
://www.roseindia.net/shoppingcart/index.shtml Hope that it will be helpful for you. Thanks 

JSP Servlet Questions

jsp shopping cart - JSP-Servlet
, Please visit the following link: http://www.roseindia.net/shoppingcart 

JDBC Questions

JAVA - JDBC
://www.roseindia.net/shoppingcart/index.shtml http://roseindia.net/servlets/web 

JSP Servlet Questions

Java - JSP-Servlet
://www.roseindia.net/shoppingcart/ We hope that these links would be helpful to you 

Struts Questions

Struts small complite project - Struts
, i am sending link, http://www.roseindia.net/shoppingcart 

JDBC Questions

project in java - JDBC
://www.roseindia.net/shoppingcart/index.shtml Thanks 

Java Beginners

suggest some latest domains and its related project titles,abstracts - Java Beginners
visit for more information. http://www.roseindia.net/shoppingcart/index.shtml 

JSP Servlet Questions

jsp problem - JSP-Servlet
://www.roseindia.net/shoppingcart/ Hope that the above link will be helpful 

Java Beginners

online shopping project
the following links: http://www.roseindia.net/shoppingcart/index.shtml http 

Struts Questions

ScartApplication aplicacion ecommerce
ScartApplication aplicacion ecommerce  Hola.He descargado la aplicacion shoppingcart "ScartApplication" pero cuando el carrito de compras no adjunta todos los productos que uno quiere comprar sino que lo hace uno por uno que 

JSP Servlet Questions

online shopping project in j2ee - JSP-Servlet
://www.roseindia.net/shoppingcart/index.shtml Thanks 

Struts Questions

shopping cart using sstruts - Struts
the following link: http://www.roseindia.net/shoppingcart/index.shtml Hope 

Java Beginners

how to produce halftone shares? - Java Beginners
for more information: http://www.roseindia.net/shoppingcart/index.shtml 

Java Beginners

Need Help - Java Beginners
://www.roseindia.net/shoppingcart/index.shtml http://www.roseindia.net/chatserver 

JSP Servlet Questions

source code - JSP-Servlet
/shoppingcart/index.shtml Thanks 

EJB Tools

J2EE Tutorial - Session Tracking
a typical ' shoppingcart' bean.  We will call it cart.java  (' Shopping 

PHP Questions

How to prevent adding duplicate items to the shopping cart
; <form action="" method="post" name="shoppingcart"> <table width="500 

Advertisements Advertisements
 

 

 

DMCA.com