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

Hedju Hor commented on WW-4911:
-------------------------------

may DOCTYPE is mistyped

 change
{code:java|title=struts.xml}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.5.dtd";>
...
{code}
 to
{code:java|title=struts.xml}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.5//EN"
"http://struts.apache.org/dtds/struts-2.5.dtd";>
...
{code}

> 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: easyfix
>             Fix For: 2.5.15
>
>   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)

Reply via email to