Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Azhak Anwar November 23, 2024

I have the same problem and it is not resolved by adding class="java.lang.Object". Can you please suggest what can be wrong? 

class="java.lang.Object"

 

0 votes
Gonchik Tsymzhitov
Community Champion
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