解决Choose unique values for the webAppRootKey context-param in your web.xml files,
解决 java.lang.IllegalStateException: Web app root system property already set to different value: ‘webapp.root’ = [E:\mz\iptv_jsdx\target\v1.0] instead of [E:\mz\apache-tomcat-8.5.23\webapps\ROOT] - Choose unique values for the ‘webAppRootKey’ context-param in your web.xml files!
我这个问题以别人同样bug的问题不一样,
你先试下面的这个方法,如果不行再试我这个
https://www.jianshu.com/p/07d8d6258971
这个是我不小心放了两个包,然后再tomcat启动的时候第一个容器他已经用了webAPProotkey对应的值了,然后第二个容器加载的时候发现webAPProotkey对应的值已经被用了,然后报错了
这个问题由于我的疏忽,改了半天才发现问题
改着改着无意中发现了这个
然后到这里
这个是我不小心放了两个包,然后再tomcat启动的时候第一个容器他已经用了webAPProotkey对应的值了,然后第二个容器加载的时候发现webAPProotkey对应的值已经被用了,然后报错了
进来把这个删掉,就好了
一杯茶,一包烟,一个BUG,改一天,
BUG 记录美好生活