Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Struts 2.1.6 filter startup problem  RSS feed

Lynn Keeling
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I recently ran into a problem with Struts but discovered the problem had been fixed in 2.1.6 so I started upgrading. Little did I know that annotation handling had chnaged so dramatically. I converted my code to use the new conventions plugin but now the filter won't start. I've gone as far as commenting out all of my annotations and the exception still gets thrown. Anyone else seen this error before?

SEVERE: Exception starting filter struts2
java.lang.ArrayIndexOutOfBoundsException: 0
at org.apache.struts2.convention.PackageBasedActionConfigBuilder.determi
at org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildCo
at org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildAc
at org.apache.struts2.convention.ClasspathPackageProvider.loadPackages(C
at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContai
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Di
at org.apache.struts2.dispatcher.Dispatcher.init(

here is my filter setup. nothing special. it worked fine before:



David Newton
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you follow the directions for Converting a Codebehind based application to Convention? I'd start there, there's a bit more at Converting application from Codebehind to Convention Plugin.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!