Web app root system property already set to different value: 'app1.root' = [D:\apache\apache-tomcat-8.5.12-windows-x64\webapps\teachers\] instead of [D:\apache\apache-tomcat-8.5.12-windows-x64\webapps\teachers_files\] - Choose unique values for the 'webAppRootKey' context-param in your web.xml files!
以上是我从日志文件中查找到的错误消息。很明显是因为项目的web.xml中的webAppRootKey引起了冲突,因此两个项目中paran-value应该是不一样的。