struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "christalkto (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4277) Struts 2 CRUD Example works fine but only in Struts-2.0.6 not in Struts-2.3.16 http://struts.apache.org/development/2.x/docs/tutorials.html Tutorials / Speciality / CRUD Made Easy / CRUD Demo I / Struts 2 CRUD Example
Date Mon, 13 Jan 2014 10:14:51 GMT

    [ https://issues.apache.org/jira/browse/WW-4277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13869397#comment-13869397
] 

christalkto commented on WW-4277:
---------------------------------

Struts 2 CRUD Example works fine but only in Struts-2.0.6 not in Struts-2.3.16
Could you please actualize this Struts2 CRUD Demo I with Struts2.3.16 ?
Thanks  
http://struts.apache.org/development/2.x/docs/tutorials.html
Tutorials / Speciality / CRUD Made Easy / CRUD Demo I / Struts 2 CRUD Example
The war file contains the jar files :
 commons-beanutils-1.7.0.jar
 commons-logging-1.0.4.jar
 freemarker-2.3.8.jar
 ognl-2.6.11.jar
 struts2-core-2.0.6.jar
 struts2-sitemesh-plugin-2.0.6.jar
 xwork-2.0.1.jar

And old filter
     <filter-name>struts</filter-name>
        <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
       </filter>
========================================================
But if you try with new version...It doesn't work
Struts-2.3.16 and CRUD Demo I
With new jar files and new filter, it doesn't work. Do you know why ?
New jar files
 commons-beanutils-1.8.0.jar
 commons-logging-api-1.1.jar
 freemarker-2.3.19.jar
 ognl-3.0.6.jar
 struts2-core-2.3.16.jar
 struts2-sitemesh-plugin-2.3.16.jar
 xwork-core-2.3.16.jar

New filter
        <filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class>


java.lang.reflect.InvocationTargetException - Class: com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector
File: ContainerImpl.java
Method: inject
Line: 301 - com/opensymphony/xwork2/inject/ContainerImpl.java:301:-1
    at 



> Struts 2 CRUD Example works fine but only in Struts-2.0.6 not in Struts-2.3.16   http://struts.apache.org/development/2.x/docs/tutorials.html
Tutorials / Speciality / CRUD Made Easy / CRUD Demo I / Struts 2 CRUD Example
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WW-4277
>                 URL: https://issues.apache.org/jira/browse/WW-4277
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Example Applications
>    Affects Versions: 2.3.16
>            Reporter: christalkto
>            Priority: Minor
>




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message