• Unable to load configuration. - [unknown location]
  • Caused by: Unable to locate parent package [json-default] for [class cn.itcast.fore.action.CustomerAction] - [unknown location]
  • Unable to load configuration. - [unknown location]
  • Caused by: Unable to load configuration. - [unknown location]
  • Caused by: Unable to locate parent package [json-default] for [class cn.itcast.fore.action.CustomerAction] - [unknown location]

在maven注解开发基于SSH框架的开发中,action类发生了Unable to locate parent package 的错误,说明@ParentPackage(json-default)中的json-default找不到,如果后面用不到json数据的话,就可以把json-default换回struts-default,即可.

这个还有一个可能是,struts-json的包没有导

posted on 2017-08-04 09:12  博客王大锤  阅读(2021)  评论(0编辑  收藏  举报