永发信息网

ssh项目部署以后报错,但是没有影响,依然可以执行,请问这错是什么意思,该怎么解决?

答案:3  悬赏:80  手机版
解决时间 2021-03-04 09:17
  • 提问者网友:世勋超人
  • 2021-03-03 23:37
2011-4-19 13:20:28 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/shikai] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
2011-4-19 13:20:28 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: The web application [/shikai] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@171b4ca]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@1474fc]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2011-4-19 13:20:28 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: The web application [/shikai] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@10c6406]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@7ae747]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2011-4-19 13:20:28 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: The web application [/shikai] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@171b4ca]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@e5f0d2]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.

ssh项目部署以后报错,但是没有影响,依然可以执行,请问这错是什么意思,该怎么解决?
最佳答案
  • 五星知识达人网友:山有枢
  • 2021-03-04 01:12
意思是你的web工程shikai注册了一个jdbc连接,但关闭web服务的时候jdbc连接没有释放,这可能会造成内存泄露。为了避免这种情况发生,jdbc连接被强行关闭了。

总体的意思就是你的代码有内存泄露的风险,但服务器很牛逼的帮你避免了这种情况,基本属于服务器在自吹自擂,你不管也行,想管的话检查下代码。

从报错信息只能看出这么多了
全部回答
  • 1楼网友:封刀令
  • 2021-03-04 01:41
你struts的配置文件中,有一个 package ,继承了 user ,但是 struts 找不到这个 user 。 楼主分拿来。
  • 2楼网友:一叶十三刺
  • 2021-03-04 01:21
你没导入Mysql的JAR包
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯