当前位置: 首页 > news >正文

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的依赖;
         <dependency><groupId>org.jboss</groupId><artifactId>jboss-vfs</artifactId><version>3.2.15.Final</version></dependency>
    
  3. 注意是三条斜线  不是两条哈,容易导致数据库连接不上

http://www.lryc.cn/news/186077.html

相关文章:

  • ARM作业1
  • leetcode 502. IPO
  • [软考中级]软件设计师-计算机网络
  • Linux搭建我的世界MC服务器 【Minecraft外网联机教程】
  • APISIX 中ETCD 的问题
  • SSH版本信息可被获取
  • android 修改输出apk的包名
  • uni-app:文本超出部分用省略号表示
  • 轻松实现视频、音频、文案批量合并,享受批量剪辑的便捷
  • Spring Boot、Nacos配置文件的优先级
  • GO脚本-模拟鼠标键盘
  • Ubuntu设置SSH
  • 创作2周年?浅记一下~
  • MATLAB算法实战应用案例精讲-【优化算法】光学显微镜算法(OMA)(附MATLAB代码实现)
  • 常见弯道输送机有哪些
  • 聚观早报 | 2023社交进入大变革时代;赛力斯发布9月产销快报
  • nginx-proxy反向代理缓存
  • Java反射(一)--- 类的实例化
  • web3.0时代分布式网络协议的异同
  • 【多线程案例】设计模式-单例模式
  • MyBatis-Plus演绎:数据权限控制,优雅至极!
  • 医学专题--多组学在药物治疗靶点筛选中的研究思路
  • 搜索与图论总结
  • lv8 嵌入式开发-网络编程开发 15I/O多路复用及select函数
  • 阿里云 linux tomcat 无法访问方法
  • 公园视频监控系统如何改造?人工智能又能提供哪些帮助?
  • 面试算法19:最多删除一个字符得到回文
  • H5+Css3文本溢出添加省略号(包括插件)
  • 将休眠镜像文件hiberfil.sys移动到D盘,可以减少C盘好几个G的空间占用
  • YTM32的模数转换器ADC外设模块详解