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

Wes Wannemacher commented on WW-2607:
-------------------------------------

I took a look at this last night and the source of the error message is in 
InterceptorBuilder. There is a call that takes a PackageConfig, and treats it 
like an InterceptorLocator and calls - 
interceptorLocator.getInterceptorConfig(refName); In this case, refName is 
"struts-default" but a null is returned for some reason. 

> Default Mappings are broken in the codebehind plugin
> ----------------------------------------------------
>
>                 Key: WW-2607
>                 URL: https://issues.apache.org/struts/browse/WW-2607
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - CodeBehind
>    Affects Versions: 2.1.x
>            Reporter: Wes Wannemacher
>         Attachments: bar.zip
>
>
> When using the codebehind plugin, developers should be able to drop a JSP, 
> freemarker or velocity template into their web-app and codebehind should map 
> it to ActionSupport automagically. Right now, the app server gives an error 
> that an interceptor class cannot be found in default-stack. Attached is a 
> simple app to demonstrate. To reproduce, unzip the app, run mvn jetty:run 
> then try to hit http://localhost:8080/bar/index.action .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to