初学structs 程序能运行,但是开启Tomcat和关闭Tomcat都有警告、严重错误

FixedStarHaHa 2017-10-08 05:32:10
开启服务器的警告:
Settings: Could not parse struts.locale setting, substituting default VM locale

关闭服务器的严重:
The web application [/struct_helloworld] created a ThreadLocal with key of type [com.opensymphony.xwork2.ActionContext.ActionContextThreadLocal] (value [com.opensymphony.xwork2.ActionContext$ActionContextThreadLocal@2f600492]) and a value of type [com.opensymphony.xwork2.ActionContext] (value [com.opensymphony.xwork2.ActionContext@48cc258a]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.

The web application [/struct_helloworld] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@539ff66f]) and a value of type [com.opensymphony.xwork2.inject.InternalContext[]] (value [[Lcom.opensymphony.xwork2.inject.InternalContext;@2aec1c4d]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.

根据网上经验已写structs.properties
structs.locale=en_UTF-8

问题仍然不能解决
...全文
251 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
街头小贩 2017-10-19
  • 打赏
  • 举报
回复
你说的这些都不算什么,只要运行过程中没有严重错误

10,608

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 其他
社区管理员
  • 其他
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧