• Unable to locate parent package [json-default]


    • 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的包没有导

  • 相关阅读:
    HZOJ 太阳神
    HZOJ Silhouette
    HZOJ Dash Speed
    HZOJ 巨神兵
    值得纪念的cspsAFO总结
    11月FLAG
    模板易错总结
    树 总结
    DP总结(优化等)
    代码低级错误总结
  • 原文地址:https://www.cnblogs.com/wangxinblog/p/7283222.html
Copyright © 2020-2023  润新知