Path: csiph.com!aioe.org!.POSTED!not-for-mail From: =?UTF-8?Q?Arne_Vajh=c3=b8j?= Newsgroups: comp.lang.java.programmer Subject: Re: Error Return to Same jsp in struts2 tiles project with AJAX implementation using JQuery and JSON Date: Tue, 9 Aug 2016 09:06:30 -0400 Organization: Aioe.org NNTP Server Lines: 24 Message-ID: References: <63b3da8b-d1f3-43c3-a02b-0998fc7022ea@googlegroups.com> NNTP-Posting-Host: 7SK6yTFfqwlIPNBLl3l7Qg.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com comp.lang.java.programmer:35236 On 8/9/2016 12:02 AM, rooh.abhishek@gmail.com wrote: > I am trying to implement drop down in struts2 for state, city > Populate 2nd dropdown (city) based on 1st drop down (state) > selection. I am using struts2 tiles. > > I want to return type json, Everything goes fine till I have to > return to same jsp page, from which I have called the action. > -------------- > Error > ------------- > Aug 06, 2016 4:46:51 PM org.apache.catalina.core.StandardWrapperValve invoke > SEVERE: Servlet.service() for servlet [default] in context with path > [/RoohAgricultureProject] threw exception [Filter execution threw an > exception] with root cause > java.lang.NoClassDefFoundError: com/opensymphony/xwork2/util/TextUtils So the class com.opensymphony.xwork2.util.TextUtils is not in classpath. Add the jar file containing it to your web apps lib. Arne