栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Java

mybatis mapper报错:Class not found: org.jboss.vfs.VFS

Java 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

mybatis mapper报错:Class not found: org.jboss.vfs.VFS

报错部分:

Logging initialized using 'class org.apache.ibatis.logging.stdout.StdOutImpl' adapter.
Class not found: org.jboss.vfs.VFS
JBoss 6 VFS API is not available in this environment.
Class not found: org.jboss.vfs.VirtualFile
VFS implementation org.apache.ibatis.io.JBoss6VFS is not valid in this environment.
Using VFS adapter org.apache.ibatis.io.DefaultVFS
Find JAR URL: file:/C:/Fancy/JavaProjects/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/myapp/WEB-INF/classes/com/app/mapper/
Not a JAR: file:/C:/Fancy/JavaProjects/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/myapp/WEB-INF/classes/com/app/mapper/
Reader entry: GroupMapper.class
Reader entry: GroupMapper.xml
Reader entry: PunchMapper.class
Reader entry: PunchMapper.xml
Reader entry: StaffMapper.class
Reader entry: StaffMapper.xml
Listing file:/C:/Fancy/JavaProjects/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/myapp/WEB-INF/classes/com/app/mapper/
Find JAR URL: file:/C:/Fancy/JavaProjects/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/myapp/WEB-INF/classes/com/app/mapper/GroupMapper.class
Not a JAR: file:/C:/Fancy/JavaProjects/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/myapp/WEB-INF/classes/com/app/mapper/GroupMapper.class
Reader entry: ����

修改方向:

  1. 检查mapper中SQL语句以及id是否有重复或者有误;
  2. 在pom.xml中添加jboss的依赖;
     
      org.jboss
      jboss-vfs
      3.2.15.Final
    
转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/948822.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号