16-Nov-2020 09:27:32.350 信息 [main] org.apache.catalina.startup.Catalina.start Server startup in 84 ms
Connected to server
[2020-11-16 09:27:32,550] Artifact mybatis:war exploded: Artifact is being deployed, please wait...
16-Nov-2020 09:27:36.785 信息 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
16-Nov-2020 09:27:42.339 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory D:\software\apache-tomcat-8.0.46\webapps\manager
16-Nov-2020 09:27:42.478 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory D:\software\apache-tomcat-8.0.46\webapps\manager has finished in 139 ms
[2020-11-16 09:27:44,783] Artifact mybatis:war exploded: Artifact is deployed successfully
[2020-11-16 09:27:44,783] Artifact mybatis:war exploded: Deploy took 12,234 milliseconds
这个访问index页面面直接给我报这个错
原因
后面仔细检查之后才发现,是在给tomcat配置项目的时候路径写得有问题
解决
检查这个Server里面的url
再检查Deployment中的Application context的路径,
这两个路径对比之后,发现有错误,然后就需要把他们两个保持一致,基本上问题就解决了