永发信息网

Caused by: java.util.MissingResourceException: Couldn't find 3-letter country code for CS

答案:2  悬赏:70  手机版
解决时间 2021-03-10 08:10
  • 提问者网友:难遇难求
  • 2021-03-09 18:15
jfinal,添加I18nInterceptor全局拦截器后会报这个错误。getISO3Country()的注释If the locale doesn't specify a country, this will be the empty string. 内容为
public String getISO3Country() throws MissingResourceException {
String country3 = getISO3Code(baseLocale.getRegion(), LocaleISOData.isoCountryTable);
if (country3 == null) {
throw new MissingResourceException("Couldn't find 3-letter country code for "
+ baseLocale.getRegion(), "FormatData_" + toString(), "ShortCountry");
}
return country3;
}
添加这个拦截器后,除了跳转页面,其他功能都用不了了,该如何解决?
最佳答案
  • 五星知识达人网友:酒者煙囻
  • 2021-03-09 18:24
没有找到相应的国家的代码

~
~
全部回答
  • 1楼网友:山有枢
  • 2021-03-09 18:49
我是来看评论的
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯