1. 程式人生 > >druid拋出異常:javax.management.InstanceAlreadyExistsException: com.alibaba.druid:type=DruidDataSource,id=xxx

druid拋出異常:javax.management.InstanceAlreadyExistsException: com.alibaba.druid:type=DruidDataSource,id=xxx

you man tps pat cnblogs clas 過程 .html vax

參考: https://www.cnblogs.com/youzhibing/p/6826767.html

結論:

  問題產生的根本原因還真是:同一實例被啟動了兩遍,Path為/SLBAdmin啟動一次,Path為/wgp-Web啟動一次,

  開發過程中最好保證工程名與發布路徑保證一直,避免不必要的麻煩

druid拋出異常:javax.management.InstanceAlreadyExistsException: com.alibaba.druid:type=DruidDataSource,id=xxx