struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4911) JSONResult exception in struts2-json-plugin-2.5.14.1.jar
Date Tue, 30 Jan 2018 06:23:00 GMT

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

Lukasz Lenart commented on WW-4911:
-----------------------------------

You have mixed different versions of JARs:
-  xwork-core-2.3.32.jar - this must be removed (and probably it's the core issue)
- freemarker-2.3.23.jar - this one is outdated, we are using *freemarker-2.3.26-incubating.jar*
(also in your JARs)
- struts2-dwr-plugin-2.5.14.1.jar, struts2-embeddedjsp-plugin-2.5.14.1.jar, struts2-gxp-plugin-2.5.14.1.jar,
struts2-jfreechart-plugin-2.5.14.1.jar - do you use these plugins? I assume not so it is safer
to delete them
- asm-3.3.jar, asm-commons-3.3.jar, asm-tree-3.3.jar - we switched to ASM 5 which means you
have mixed some old versions

Here is a list of all the dependencies and versions
http://struts.apache.org/maven/dependency-management.html

> JSONResult exception in struts2-json-plugin-2.5.14.1.jar 
> ---------------------------------------------------------
>
>                 Key: WW-4911
>                 URL: https://issues.apache.org/jira/browse/WW-4911
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - JSON
>    Affects Versions: 2.5.14.1
>         Environment: Java, JSON, Hibernate, Struts2
>            Reporter: nick
>            Priority: Critical
>              Labels: test
>             Fix For: 2.5.15
>
>         Attachments: server.log.json14, server.log.json14issue2
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Error log:
> 12:09:16,381 ERROR [stderr] (http-/127.0.0.1:8080-4) ERROR DefaultActionInvocation There
was an exception while instantiating the result of type org.apache.struts2.json.JSONResult
> 12:09:16,397 ERROR [stderr] (http-/127.0.0.1:8080-4)  com.opensymphony.xwork2.inject.DependencyException:
com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No mapping found
for dependency [type=org.apache.struts2.json.JSONUtil, name='default'] in public void org.apache.struts2.json.JSONResult.setJsonUtil(org.apache.struts2.json.JSONUtil).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message