404错误
15:02:48.991 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.logging.LogFactory - Logging initialized using 'class org.apache.ibatis.logging.slf4j.Slf4jImpl' adapter.
15:02:49.006 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.mybatis.spring.SqlSessionFactoryBean - Property 'configuration' or 'configLocation' not specified, using default MyBatis Configuration
15:02:49.069 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.VFS - Class not found: org.jboss.vfs.VFS
15:02:49.069 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.JBoss6VFS - JBoss 6 VFS API is not available in this environment.
15:02:49.069 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.VFS - Class not found: org.jboss.vfs.VirtualFile
15:02:49.069 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.VFS - VFS implementation org.apache.ibatis.io.JBoss6VFS is not valid in this environment.
15:02:49.069 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.VFS - Using VFS adapter org.apache.ibatis.io.DefaultVFS
15:02:49.084 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Find JAR URL: jar:file:/D:/BBS/bbs_web/target/bbs_web/WEB-INF/lib/bbs_dao-1.0-SNAPSHOT.jar!/com/imooc/bbs/entity/
15:02:49.084 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Inner URL: file:/D:/BBS/bbs_web/target/bbs_web/WEB-INF/lib/bbs_dao-1.0-SNAPSHOT.jar!/com/imooc/bbs/entity/
15:02:49.084 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Extracted JAR URL: file:/D:/BBS/bbs_web/target/bbs_web/WEB-INF/lib/bbs_dao-1.0-SNAPSHOT.jar
15:02:49.084 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Found JAR: file:/D:/BBS/bbs_web/target/bbs_web/WEB-INF/lib/bbs_dao-1.0-SNAPSHOT.jar
15:02:49.084 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Listing jar:file:/D:/BBS/bbs_web/target/bbs_web/WEB-INF/lib/bbs_dao-1.0-SNAPSHOT.jar!/com/imooc/bbs/entity/
15:02:49.084 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Found resource: /com/imooc/bbs/entity/Comment.class
15:02:49.084 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Found resource: /com/imooc/bbs/entity/Post.class
15:02:49.084 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Found resource: /com/imooc/bbs/entity/User.class
15:02:49.084 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.ResolverUtil - Checking to see if class com.imooc.bbs.entity.Comment matches criteria [is assignable to Object]
15:02:49.084 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.ResolverUtil - Checking to see if class com.imooc.bbs.entity.Post matches criteria [is assignable to Object]
15:02:49.084 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.ResolverUtil - Checking to see if class com.imooc.bbs.entity.User matches criteria [is assignable to Object]
15:02:49.084 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.mybatis.spring.SqlSessionFactoryBean - Scanned package: 'com.imooc.bbs.entity' for aliases
15:02:49.084 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.mybatis.spring.SqlSessionFactoryBean - Property 'mapperLocations' was not specified or no matching resources found
06-May-2020 15:02:49.428 信息 [RMI TCP Connection(3)-127.0.0.1] org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.registerHandler Mapped URL path [/**] onto handler 'org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler#0'
06-May-2020 15:02:49.663 信息 [RMI TCP Connection(3)-127.0.0.1] org.springframework.web.servlet.DispatcherServlet.initServletBean FrameworkServlet 'SpringMVC': initialization completed in 1579 ms
[2020-05-06 03:02:49,694] Artifact bbs_web:war exploded: Artifact is deployed successfully
[2020-05-06 03:02:49,694] Artifact bbs_web:war exploded: Deploy took 3,634 milliseconds
06-May-2020 15:02:56.006 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory 把web 应用程序部署到目录 [D:\apache-tomcat-8.5.51\webapps\manager]
06-May-2020 15:02:56.052 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [D:\apache-tomcat-8.5.51\webapps\manager] has finished in [46] ms
日志中的报错信息
Property 'configuration' or 'configLocation' not specified, using default MyBatis Configuration
正在回答
同学你好,404错误是路径找不到报错,问一下同学的访问路径是什么?
上边并不是报错,只是提示信息:表示未指定属性配置或配置位置,使用默认MyBatis配置 。
祝:学习愉快~
- 参与学习 人
- 提交作业 323 份
- 解答问题 8263 个
本阶段将带你学习主流框架SSM,以及SpringBoot ,打通成为Java工程师的最后一公里!
了解课程
恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星