首页 > 数据库 >Jpa+mybatis混合使用时,jsqlparser一直报错

Jpa+mybatis混合使用时,jsqlparser一直报错

时间:2023-12-05 14:11:05浏览次数:36  
标签:Jpa baomidou version plus jsqlparser mybatis 报错 com

net.sf.jsqlparser.statement.insert.Insert cannot be cast to net.sf.jsqlparser.statement.select.Select

解决

      <dependency>
            <groupId>com.baomidou</groupId>
            <artifactId>mybatis-plus-boot-starter</artifactId>
            <version>${mybatis-plus.version}</version>
        </dependency>
        <dependency>
            <groupId>com.baomidou</groupId>
            <artifactId>mybatis-plus-extension</artifactId>
            <version>${mybatis-plus.version}</version>
            <exclusions>
                <exclusion>
                    <artifactId>jsqlparser</artifactId>
                    <groupId>com.github.jsqlparser</groupId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>com.baomidou</groupId>
            <artifactId>mybatis-plus-annotation</artifactId>
            <version>${mybatis-plus.version}</version>
        </dependency>

标签:Jpa,baomidou,version,plus,jsqlparser,mybatis,报错,com
From: https://www.cnblogs.com/cfas/p/17877084.html

相关文章

  • udb添加索引时报错
    报错如下:ERROR:indexrowsize2728exceedsbtreeversion4maximun2704forindex"idx_app"DETAIL:Indexrowreferencestuple(508199,31)inrelation'unify_work_extend_value'.HINT:Valueslargerthan1/3ofabufferpagecannotbeindexed......
  • # yyds干货盘点 # 有一个数据对应表,遍历df数据只要df存在对应的数据就替换掉,但是这个
    大家好,我是皮皮。一、前言前几天在Python最强王者交流群【哎呦喂 是豆子~】问了一个Pandas数据处理的问题,一起来看看吧。问题描述:大佬们 请问下这个问题 有一个数据对应表,然后遍历df数据只要df存在对应的数据就替换掉但是这个一直报错(IndexError:index0isoutofboundsf......
  • 应用报错:java.lang.OutOfMemoryError: unable to create new native thread
    上个月生产环境忽然出现部分交易处理缓慢甚至超时,查看对应应用日志发现一直在刷报错日志,报错信息如下java.lang.OutOfMemoryError:unabletocreatenewnativethread从报错上来看是说不能创建本地线程了,应用都是容器部署的,开始我怀疑是容器内存不够了导致内存泄露,但经过查看容器......
  • hbase运行status时报错
    在尝试运行status时出现了org.apache.hadoop.hbase.ipc.ServerNotRunningYetException:Serverisnotrunningyet的报错 解决方法——1.停止hbase集群2.在配置文件hbase-site.xml文件中增加如下配置<property><name>hbase.wal.provider</name><value>filesyste......
  • 有一个数据对应表,遍历df数据只要df存在对应的数据就替换掉,但是这个一直报错
    大家好,我是皮皮。一、前言前几天在Python最强王者交流群【哎呦喂 是豆子~】问了一个Pandas数据处理的问题,一起来看看吧。问题描述:大佬们 请问下这个问题 有一个数据对应表,然后遍历df数据只要df存在对应的数据就替换掉但是这个一直报错(IndexError:index0isoutofboun......
  • 安装mysql报错:ERROR 1045 (28000): Access denied for user ‘root‘@‘localhost‘ (
    @目录当前状态报错解决办法:当前状态目前已经启动好mysql服务:systemctlstartmysqldsystemctlstatusmysqld生成临时密码grep'temporarypassword'/var/log/mysqld.log报错出现了报错:ERROR1045(28000):Accessdeniedforuser'root'@'localhost'(usingpass......
  • Jdk升级到1.7后,hutool工具类的很多方法报错解决方案
    报错如下:java.lang.reflect.InaccessibleObjectException:Unabletomakefieldprivatefinaljava.util.Mapsun.reflect.annotation.AnnotationInvocationHandler.memberValuesaccessible:modulejava.basedoesnot"openssun.reflect.annotation"tounnamed......
  • Qt程序运行报错
    报错内容PC环境为Ubuntu20.04,Qt版本是Qt5.12.9,AsensingViewer是编译好的程序./AsensingViewer:errorwhileloadingsharedlibraries:libicudata.so.56:cannotopensharedobjectfile:Nosuchfileordirectory问题分析查看程序依赖lddAsensingViewer注意到有个库......
  • 记Redux下载后,运行examples/todos时,报错Error: error:0308010C:digital envelope rout
    1、Redux下载下载地址gitclonehttps://github.com/reactjs/redux.git进入examples/todos,下载依赖:npminstall2、问题复现及解决执行命令npmrunstart此时终端报错:Error:error:0308010C:digitalenveloperoutines::unsupported解决方法:打开package.json,修改......
  • python报错:Pip 20.3+ break proxy connection
    参考:https://www.cnblogs.com/devilmaycry812839668/p/17872452.html   ==================================== 在proxy方式下使用pip有时候会报错。原因是某些版本pip依赖的urllib3库默认使用https方式进行网络连接,但是在proxy模式下由于大部分的proxy工具都是不支持h......