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

2010-04-25  来源:本站原创  分类:Java  人气:330 

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)
Read online a lot of posts, saying that the lack of integration of struts2 and spring package struts2-spring-plugin-XXX.jar, but I already have this package works inside, and later saw that in struts.properties where the struts.objectFactory = spring change Cheng struts.objectFactory = com.opensymphony.xwork2.ObjectFactory, really can be, and are as follows, in the struts.xml in the
<constant name="struts.objectFactory" value="spring" /> read as follows:
<constant name="struts.objectFactory" value="com.opensymphony.xwork2.ObjectFactory" />
Do not know if it will not be affected? Please know that friends can tell!

相关文章
  • com.opensymphony.xwork2.config.ConfigurationException: Cannot locate the 2010-04-25

    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.BeanSelection

  • Unable to load bean: type: class: com.opensymphony.xwork2.ObjectFactory 2010-11-21

    Unable to load bean: type: class: com.opensymphony.xwork2.ObjectFactory Re-use of working hours today to build struts2 + spring she ran a development environment com.opensymphony.xwork2.config.ConfigurationException: Bean type class com.opensymphony.

  • Unable to load bean: type: com.opensymphony.xwork2.ObjectFactory class: org.apache 2010-05-01

    Struts2 error message: Exception starting filter struts2 Unable to load bean: type: com.opensymphony.xwork2.ObjectFactory class: org.apache.struts2.spring.StrutsSpringObjectFactory - bean - jar: file: / D: / soft/apache-tomcat-5.5.26/webapps/test2 /

  • Line: 220 - com/opensymphony/xwork2/spring/SpringObjectFactory.java:220:-1 2014-04-15

    严重: Exception starting filter struts2 Class: com.opensymphony.xwork2.spring.SpringObjectFactory File: SpringObjectFactory.java Method: getClassInstance Line: 220 - com/opensymphony/xwork2/spring/SpringObjectFactory.java:220:-1 at org.apache.struts2.d

  • com/opensymphony/xwork2/spring/SpringObjectFactory 2015-01-20

    严重: Exception starting filter struts2 Class: com.opensymphony.xwork2.spring.SpringObjectFactory File: SpringObjectFactory.java Method: getClassInstance Line: 220 - com/opensymphony/xwork2/spring/SpringObjectFactory.java:220:-1 at org.apache.struts2.d

  • Tip: WARN [com.opensymphony.xwork2.ognl.OgnlValueStack] - Error setting value ogn 2010-03-29

    Tip: WARN [com. Opensymphony. Xwork2. Ognl. OgnlValueStack] - Error setting value ognl. OgnlException: source is null for getProperty (null, "book") at ognl. OgnlRuntime.getProperty (OgnlRuntime.java: 1638) at ognl. ASTProperty.getValueBody (AST

  • com.opensymphony.xwork2.ognl.OgnlValueStack 2010-03-26

    com.opensymphony.xwork2.ognl.OgnlValueStack Tip: WARN [com.opensymphony.xwork2.ognl.OgnlValueStack] - Error setting value ognl.OgnlException: source is null for getProperty (null, "book") at ognl.OgnlRuntime.getProperty (OgnlRuntime.java: 1638)

  • java.lang.NoClassDefFoundError: com/opensymphony/xwork2/util/TextUtils 2010-04-26

    In struts 2.1.8 and jsonplugin with exception when: java.lang.NoClassDefFoundError: com/opensymphony/xwork2/util/TextUtils Json version due to plug inappropriate. Solution: Download the appropriate version of the address: http://repo1.maven.org/maven

  • java.lang.NoSuchMethodError: com.opensymphony.xwork2.util.ValueStack.findValue 2014-04-15

    java.lang.NoSuchMethodError: com.opensymphony.xwork2.util.ValueStack.findValue(Ljava/lang/String;Z)Ljava/lang/Object; jar包冲突,搜索有两个jar包含ValueStack这个类 ,极有可能是xwork-2.1.1.jar 系列的包,你引入了多个. struts2-core-2.1.8.1.jar,而 xwork -core用 xwork-2.1.2.jar.有可能不兼容.建议你

  • Struts2 time to load all configuration files Tools 2010-11-05

    I believe we are doing at all times the project has encountered a problem is the configuration file, the module configuration of the Action will be more added so many, so some developers offered include using Struts tags in a xml file into the config

  • Cannot locate the chosen ObjectFactory implementation: spring 2010-05-01

    Struts2 error message: Exception starting filter struts2 Cannot locate the chosen ObjectFactory implementation: spring - [unknown location] at org.apache.struts2.config.BeanSelectionProvider.alias (BeanSelectionProvider.java: 224) at org.apache.strut

  • ssh integration exception summary Cannot locate the chosen ObjectFactory implementation: spring 2010-09-18

    ssh integration exception summary Cannot locate the chosen ObjectFactory implementation: spring Struts2 An error : Exception starting filter struts2 Cannot locate the chosen ObjectFactory implementation: spring - [unknown location] at org.apache.stru

  • Struts2源码浅析-初始化 2014-08-24

    StrutsPrepareAndExecuteFilter实现了Filter接口 init方法为初始化入口 StrutsPrepareAndExecuteFilter init方法 public void init(FilterConfig filterConfig) throws ServletException { //初始化辅助类 类似一个Delegate InitOperations init = new InitOperations(); try { // FilterHostConf

  • Brothers and sisters to help look at what the problem !!! 2008-10-09

    13:57:24.468 [main] DEBUG oacommons.digester.Digester.sax - startElement (,, url-pattern) 13:57:24.468 [main] DEBUG org.apache.commons.digester.Digester - Pushing body text ' ' 13:57:24.468 [main] DEBUG org.apache.commons.digester.Digester - New matc

  • Serious: Exception starting filter struts2 2010-05-06

    Error Code: 2010-5-6 13:39:32 org.apache.catalina.core.AprLifecycleListener init Information: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: E: \ MyEclipse 7.5 \ Ge

  • struts2 + spring + hibernate startup error 2010-07-01

    INFO - Unable to locate configuration files of the name classpath: struts_books.xml, skipping INFO - Parsing configuration file [classpath: struts_books.xml] ERROR - Exception starting filter struts2 com.opensymphony.xwork2.inject.DependencyException

  • Integration of struts2 and WebService 2010-11-30

    A recent project, met a metamorphosis customers, use the WebService for validation, for single sign-on, had no such single sign out, and no way, the kind of customer is being unreasonable, let's small test chopper it. First, create the WebService ser

  • Configuring Struts2 first series of problems encountered in the environment summary 2011-01-08

    Development environment Eclipse: Eclipse Java EE IDE for Web Developers. Version: Helios Service Release 1 Build id: 20100917-0705 Tomcat: apache-tomcat-6.0.16 Struts: struts-2.2.1.1 2011-1-6 0:04:30 org.apache.tomcat.util.digester.SetPropertiesRule

  • [Transfer] Struts2 and analysis of the working mechanism of -2 2011-01-14

    Find the source code, such as static resources, a list of 14: Listing 14: FilterDispatcher.findStaticResource () method protected void findStaticResource (String name, HttpServletRequest request, HttpServletResponse response) throws IOException { if

  • ssh + tomcat + myeclipse6.5 abnormal configuration item 3 2011-05-09

    Serious: Exception starting filter struts2 Cannot locate the chosen ObjectFactory implementation: spring - [unknown location] at org.apache.struts2.config.BeanSelectionProvider.alias (BeanSelectionProvider.java: 224) at org.apache.struts2.config.Bean