This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
The moose likes Struts and the fly likes Reg:Struts and ejb integration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Reg:Struts and ejb integration" Watch "Reg:Struts and ejb integration" New topic

Reg:Struts and ejb integration

Yogaraj Khanal
Ranch Hand

Joined: Jun 06, 2007
Posts: 40
Hi All,
I am trying to deploy struts application in Tomcat and deploy ejb appplication in weblogic but getting this error.Can any expert help me with this.Tomcat is sometime throwing same jsp code back instead of executing the code, can anyone suggest what the heck is going wrong?
500 Servlet Exception

java.lang.NoSuchMethodError: org.apache.struts.action.ActionErrors.add(Ljava/lang/String;Lorg/apache/struts/action/ActionError V
at ActionBean.execute(
at org.apache.struts.chain.commands.servlet.ExecuteAction.execute(
at org.apache.struts.chain.commands.AbstractExecuteAction.execute(
at org.apache.struts.chain.commands.ActionCommandBase.execute(
at org.apache.commons.chain.impl.ChainBase.execute(
at org.apache.commons.chain.generic.LookupCommand.execute(
at org.apache.commons.chain.impl.ChainBase.execute(
at org.apache.struts.chain.ComposableRequestProcessor.process(
at org.apache.struts.action.ActionServlet.process(
at org.apache.struts.action.ActionServlet.doPost(
at javax.servlet.http.HttpServlet.service(
at javax.servlet.http.HttpServlet.service(
at com.caucho.server.http.FilterChainServlet.doFilter(
at com.caucho.server.http.Invocation.service(
at com.caucho.server.http.CacheInvocation.service(
at com.caucho.server.http.HttpRequest.handleRequest(
at com.caucho.server.http.HttpRequest.handleConnection(

Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
The reason you're getting this message is that the ActionErrors.add method has now changed and no longer accepts a instance of ActionError as a parameter. You must use ActionMessage for this parameter instead of ActionError.

Consultant, Sima Solutions
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Reg:Struts and ejb integration