[
https://issues.apache.org/struts/browse/WW-1970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42078
]
johana pin commented on WW-1970:
---------------------------------
Sorry for not answering to this question. But after I waited for some time I
quit on using that version of struts and following this issue. The xwork
package that I used at that time was the one that came with the J4 distribution
(don't know exactly wich one). I noticed that in the next version of struts the
problem was solved and now I'm doing some test on Struts 2.0.9 to see how it
works.
Thank you for the response.
> Error Message: Filter [struts2]: could not be initialized
> ---------------------------------------------------------
>
> Key: WW-1970
> URL: https://issues.apache.org/struts/browse/WW-1970
> Project: Struts 2
> Issue Type: Bug
> Components: Dispatch
> Affects Versions: 2.0.6
> Environment: java 1.4. - websphere 6.0 server. spring framework used.
> linux os. struts J4 distribution used. struts-spring plugin compiled with 1.4
> from 'all' distribution.
> Reporter: johana pin
> Assignee: Don Brown
> Priority: Blocker
>
> I got this error when I try to access the deployed application:
> Error Message: Filter [struts2]: could not be initialized
> Error Code: 500
> Target Servlet: null
> Error Stack:
> com.opensymphony.xwork2.inject.DependencyException:
> com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No
> mapping found for dependency [type=java.lang.String, name='struts.devMode']
> in public static void
> org.apache.struts2.dispatcher.Dispatcher.setDevMode(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.devMode']
> in public static void
> org.apache.struts2.dispatcher.Dispatcher.setDevMode(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)
>
> ..............................
> I saw some other related issues on the internet but I did not found the
> resolvation. Thank you for your help.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.