I looked after, but I did not find a solution. I tried to run only 'blank' application on java 1.4. - websphere 6.0 server, winxp os, struts J4 distribution. After deploy, I got almost the same error (for another constant) when calling the action:
E SRVE0026E: [Servlet Error]-[Filter [struts2]: could not be initialized]: com.opensymphony.xwork2.inject.DependencyException: com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No mapping found for dependency [type=java.lang.String, name='struts.i18n.encoding'] in public static void org.apache.struts2.dispatcher.Dispatcher.setDefaultEncoding(java.lang.String). at com.opensymphony.xwork2.inject.ContainerImpl.addInjectorsForMembers(ContainerImpl.java:157) at com.opensymphony.xwork2.inject.ContainerImpl.addInjectorsForMethods(ContainerImpl.java:126) at com.opensymphony.xwork2.inject.ContainerImpl.injectStatics(ContainerImpl.java:111) at com.opensymphony.xwork2.inject.ContainerBuilder.create(ContainerBuilder.java:494) at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:145) at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:52) at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:398) at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:455) at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:201) at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.init(FilterInstanceWrapper.java:109) at com.ibm.ws.webcontainer.filter.WebAppFilterManager.loadFilter(WebAppFilterManager.java:328) .................................. Caused by: com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No mapping found for dependency [type=java.lang.String, name='struts.i18n.encoding'] in public static void org.apache.struts2.dispatcher.Dispatcher.setDefaultEncoding(java.lang.String). at com.opensymphony.xwork2.inject.ContainerImpl.createParameterInjector(ContainerImpl.java:239) at com.opensymphony.xwork2.inject.ContainerImpl.getParametersInjectors(ContainerImpl.java:229) at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.<init>(ContainerImpl.java:282) at com.opensymphony.xwork2.inject.ContainerImpl$3.create(ContainerImpl.java:130) at com.opensymphony.xwork2.inject.ContainerImpl$3.create(ContainerImpl.java:128) at com.opensymphony.xwork2.inject.ContainerImpl.addInjectorsForMembers(ContainerImpl.java:154) at com.opensymphony.xwork2.inject.ContainerImpl.addInjectorsForMethods(ContainerImpl.java:126) at com.opensymphony.xwork2.inject.ContainerImpl.injectStatics(ContainerImpl.java:111) ........................................... Thank you very much ? ----- Original Message ---- From: Dave Newton <[EMAIL PROTECTED]> To: Struts Users Mailing List <user@struts.apache.org> Sent: Wednesday, June 6, 2007 3:59:36 PM Subject: Re: [s2 on J4] Error Message: Filter [struts2]: could not be initialized It looks like this issue has been around awhile; google for struts + "No mapping found for dependency" and you may find something that will help. d. --- johana pin <[EMAIL PROTECTED]> wrote: > First I put the initial plugin in the lib dir. and I > got version error. After that, I compiled the > sources with 1.4 and it passed over that error. The > only jars that I used from struts2 distribution are: > - those provided in J4 download > - struts-spring plugin (one class compiled with > eclipse - java 1.4) > - ognl-2.6.11.jar (I just retrotranslated this one > and I have same error) > > I found a simmilary issue in this context: > http://mail-archives.apache.org/mod_mbox/struts-user/200701.mbox/[EMAIL PROTECTED] > > > ----- Original Message ---- > From: Dave Newton <[EMAIL PROTECTED]> > To: Struts Users Mailing List > <user@struts.apache.org> > Sent: Wednesday, June 6, 2007 2:06:39 PM > Subject: Re: [s2 on J4] Error Message: Filter > [struts2]: could not be initialized > > > --- johana pin <[EMAIL PROTECTED]> wrote: > > I used the J4 download from struts site. I only > > recompiled (not with retrotranslator but with > > eclipse) the struts-spring plugin from 'all' > > distribution. > > You're building from source? Make sure it's > compiling > with a 1.4 JDK. > > Anyway, try J4-ing any of the struts2-* jars and > tiles > if you're using them. That was enough for Weblogic, > anyway, but the error you're getting isn't like > anything I saw. > > d. > > > > > ____________________________________________________________________________________ > Take the Internet to Go: Yahoo!Go puts the Internet > in your pocket: mail, news, photos & more. > http://mobile.yahoo.com/go?refer=1GNXIC > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > ____________________________________________________________________________________ > Looking for earth-friendly autos? > Browse Top Cars by "Green Rating" at Yahoo! Autos' > Green Center. > http://autos.yahoo.com/green_center/ ____________________________________________________________________________________ Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games. http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ____________________________________________________________________________________ Get the Yahoo! toolbar and be alerted to new email wherever you're surfing. http://new.toolbar.yahoo.com/toolbar/features/mail/index.php