WebWork configuration not found exception

Ashish Biswal March 18, 2019

Exception :-

WebworkConfigurationNotFoundException{class=class webwork.config.XMLActionConfiguration, message='No such view mapping', name='DueDateIndicatorAction.actionRoles.actionRoles'}

 

Webwork configuration :-

<webwork1 key="due-date-indicator" name="DueDateIndicator" i18n-name-key="due-date-indicator.name"> 
<description key="due-date-indicator.description">The DueDateIndicator Plugin</description>
<actions>
<action name="com.example.plugins.tutorial.jira.webwork.DueDateIndicatorAction" alias="DueDateIndicatorAction">
<view name="success">/templates/due-date-indicator/success.vm</view>
<view name="input">/templates/due-date-indicator/input.vm</view>
<view name="error">/templates/due-date-indicator/error.vm</view>
</action>
</actions>
</webwork1>

 

access url which gives the error when hit :-

localhost:2990/jira/secure/DueDateIndicatorAction!default.jspa 

2 answers

0 votes
Massimo Prevignano August 2, 2022

I created a new empty "webwork" plugin module and when I tested it I had the same problem.

I already created other "webwork" modules and I see the the following attribute was missing: "class="java.lang.Object" in the <webwork1> tag.

So your example should be:

<webwork1 key="due-date-indicator" name="DueDateIndicator" i18n-name-key="due-date-indicator.name"  class="java.lang.Object" >

 Hope this help.

0 votes
Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 23, 2019

Hm, I hope the problem was on class side 

com.example.plugins.tutorial.jira.webwork.DueDateIndicatorAction

Suggest an answer

Log in or Sign up to answer