`

com.opensymphony.xwork2.config.ConfigurationException: Cannot locate the

    博客分类:
  • ssh
阅读更多
com.opensymphony.xwork2.config.ConfigurationException: Cannot locate the
chosen ObjectFactory implementation: spring
at org.apache.struts2.config.BeanSelectionProvider.alias(BeanSelectionProvider.java:287)
at org.apache.struts2.config.BeanSelectionProvider.alias(BeanSelectionProvider.java:258)
看了网上很多帖子,说是缺少struts2和spring整合包struts2-spring-plugin-XXX.jar,但是我工程里面已经有了这个包,后来看到说在struts.properties里把struts.objectFactory=spring改成struts.objectFactory=com.opensymphony.xwork2.ObjectFactory,果真就可以了,如下,在struts.xml中把
<constant name="struts.objectFactory" value="spring" /> 改为:
<constant name="struts.objectFactory" value="com.opensymphony.xwork2.ObjectFactory" />
不知道这样会不会有影响?请知道的朋友指导一下!
分享到:
评论

相关推荐

    com.opensymphony.xwork2.DefaultActionProxy

    com.opensymphony.xwork2.DefaultActionProxy com.opensymphony.xwork2.DefaultActionInvocation org.apache.struts2.dispatcher.FilterDispatcher

    struts-2.1.6.chm

    com.opensymphony.xwork2 Main XWork interfaces and classes....com.opensymphony.xwork2.config Configuration core classes. com.opensymphony.xwork2.config.entities Configuration entity classes. ...

    struts 2.3.4.1 最新英文版API

    struts 2.3.4.1 最新英文版API =======================================...com.opensymphony.xwork2.config Configuration core classes. com.opensymphony.xwork2.config.entities Configuration entity classes. ...

    OpenSymphony公司的xwork资源包

    OpenSymphony公司旗下的一款xwork资源包,开发java项目不可缺少的东西!!!

    stuts2.2_API文档

    com.opensymphony.xwork2.XWorkException (implements com.opensymphony.xwork2.util.location.Locatable) org.apache.struts2.StrutsException (implements com.opensymphony.xwork2.util.location.Locatable)

    java 请求的方法不存在(NoSuchMethodException)

    java 请求的方法不存在(NoSuchMethodException) java 请求的方法不存在(NoSuchMethodException)

    xwork-core-2.3.37.jar

    用于解决struts2升级至2.3.37时 出现java.lang.NoSuchMethodError: com.opensymphony.xwork2.ActionContext.put(Ljava/lang/异常时,更换的xwork-core-2.3.37.jar

    java程序包

    Java程序包,Java是一门面向对象编程语言,不仅吸收了C++语言的各种优点,还摒弃了C++里难以理解的多继承、指针等概念,因此Java语言具有功能强大和简单易用两个特征。Java语言作为静态面向对象编程语言的代表,极好...

    struts2 依赖核心包 --xwork 源文件

    struts2 依赖核心包 --xwork 源文件

    xwork-core-2.3.8

    取代xwork-2.x.x,解决java.lang.ClassNotFoundException: com.opensymphony.xwork2.config.FileManager问题

    struts2最新2.3.4.1源码

    struts2最新2.3.4.1源码

    struts2-junit-plugin-2.1.8.jar

    可解决java.lang.NoSuchMethodError: com.opensymphony.xwork2.ActionContext.get(Ljava/lang/Object;)Ljava/lang/Object; java.lang.ClassNotFoundException: com.opensymphony.xwork2.util.TextUtils struts2.1.8...

    struts2-core-2.3.15.3.jar

    Apache Struts Copyright 2000-2011 The Apache Software ...XWork (http://www.opensymphony.com/xwork/). XPP3 (http://www.extreme.indiana.edu/xgws/xsoap/xpp/). XStream (http://xstream.codehaus.org/).

    struts2下的Xwork2源文件

    struts2下的Xwork2源文件 在 opensymphony开源社区http://www.opensymphony.com/ 可匿名使用SVN checkout xwork2的源代码 http://svn.opensymphony.com/svn/xwork/trunk

    struts-2.3.15.3-apps.zip

    Apache Struts Copyright 2000-2011 The Apache Software ...XWork (http://www.opensymphony.com/xwork/). XPP3 (http://www.extreme.indiana.edu/xgws/xsoap/xpp/). XStream (http://xstream.codehaus.org/).

    struts-2.1.8.1-src.zip

    Apache Struts Copyright 2000-2007 The Apache Software ...XWork (http://www.opensymphony.com/xwork/). XPP3 (http://www.extreme.indiana.edu/xgws/xsoap/xpp/). XStream (http://xstream.codehaus.org/).

    xwork源码下载于opensymphony

    www.opensymphony.com上下载的xwork源码

    struts2相关重要资源 ognl,xwork,jdk文档链接

    NULL 博文链接:https://jetwu.iteye.com/blog/537615

    struts-2.5.13-docs

    Apache Struts Copyright 2000-2011 The Apache Software ...XWork (http://www.opensymphony.com/xwork/). XPP3 (http://www.extreme.indiana.edu/xgws/xsoap/xpp/). XStream (http://xstream.codehaus.org/).

    oscache缓存中间件

    OSCache标记库由OpenSymphony设计,它是一种开创性的缓存方案,它提供了在现有JSP页面之内实现内存缓存的功能。OSCache是个一个被广泛采用的高性能的J2EE缓存框架,OSCache还能应用于任何Java应用程序的普通的缓存...

Global site tag (gtag.js) - Google Analytics