You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "ghita cornel teodor (JIRA)" <ji...@apache.org> on 2008/03/04 16:23:07 UTC

[jira] Created: (WW-2531) use xwork 2.1.0 jar instead of xwork 2.0.4 jar in a simple struts2 application => class no foud exception thrown

use xwork 2.1.0 jar instead of xwork 2.0.4 jar in a simple struts2 application => class no foud exception thrown
----------------------------------------------------------------------------------------------------------------

                 Key: WW-2531
                 URL: https://issues.apache.org/struts/browse/WW-2531
             Project: Struts 2
          Issue Type: Bug
    Affects Versions: 2.0.11
            Reporter: ghita cornel teodor
            Priority: Minor


in xwork2.1.0 jar these 2 classes marked as deprecated in xwork 2.0.4.jar were moved, removed or replaced with other classes so on using the never version xwork2.1.0 the following errors occur:

Caused by: Unable to load bean: type:com.opensymphony.xwork2.util.ObjectTypeDeterminer class:com.opensymphony.xwork2.util.GenericsObjectTypeDeterminer - bean - jar:file:/E:/Work/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/testStruts2/WEB-INF/lib/struts2-core-2.0.11.jar!/struts-default.xml:36:148
	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:240)
	at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:101)
	at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:178)
	at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)
	... 21 more
Caused by: java.lang.ClassNotFoundException: com.opensymphony.xwork2.util.GenericsObjectTypeDeterminer
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360)
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)
	at com.opensymphony.xwork2.util.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:147)
	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:208)
	... 24 more

using xwork2.0.4.jar these errors don't occur

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (WW-2531) use xwork 2.1.0 jar instead of xwork 2.0.4 jar in a simple struts2 application => class no foud exception thrown

Posted by "Dave Newton (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dave Newton closed WW-2531.
---------------------------

    Resolution: Not A Problem

S 2.0.11 uses XW 2.0.4, not XW 2.1. I'm not surprised that simply replacing the XWork jar didn't work.

> use xwork 2.1.0 jar instead of xwork 2.0.4 jar in a simple struts2 application => class no foud exception thrown
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: WW-2531
>                 URL: https://issues.apache.org/struts/browse/WW-2531
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.0.11
>            Reporter: ghita cornel teodor
>            Priority: Minor
>
> in xwork2.1.0 jar these 2 classes marked as deprecated in xwork 2.0.4.jar were moved, removed or replaced with other classes so on using the never version xwork2.1.0 the following errors occur:
> Caused by: Unable to load bean: type:com.opensymphony.xwork2.util.ObjectTypeDeterminer class:com.opensymphony.xwork2.util.GenericsObjectTypeDeterminer - bean - jar:file:/E:/Work/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/testStruts2/WEB-INF/lib/struts2-core-2.0.11.jar!/struts-default.xml:36:148
> 	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:240)
> 	at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:101)
> 	at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:178)
> 	at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)
> 	... 21 more
> Caused by: java.lang.ClassNotFoundException: com.opensymphony.xwork2.util.GenericsObjectTypeDeterminer
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360)
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)
> 	at com.opensymphony.xwork2.util.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:147)
> 	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:208)
> 	... 24 more
> using xwork2.0.4.jar these errors don't occur

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.