分两台服务器部署..在没有安装环境的那台服务器部署jar包 后...请求接口报以下错误!

Blade 未结 2 43

Jan 6 16:49:21 iZ2vcfti1q5gin57xi2214Z spring_blade_adminapp_jar: 2025-01-06 16:49:21.545 ERROR 6817 --- [ XNIO-1 task-4] o.s.c.l.e.BladeRestExceptionTranslator : 服务器异常

Jan 6 16:49:21 iZ2vcfti1q5gin57xi2214Z spring_blade_adminapp_jar: org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:

Jan 6 16:49:21 iZ2vcfti1q5gin57xi2214Z spring_blade_adminapp_jar: ### Error querying database. Cause: java.lang.NullPointerException

Jan 6 16:49:21 iZ2vcfti1q5gin57xi2214Z spring_blade_adminapp_jar: ### Cause: java.lang.NullPointerException

Jan 6 16:49:21 iZ2vcfti1q5gin57xi2214Z spring_blade_adminapp_jar: at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:97) ~[mybatis-spring-2.1.1.jar!/:2.1.1]

Jan 6 16:49:21 iZ2vcfti1q5gin57xi2214Z spring_blade_adminapp_jar: at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:439) ~[mybatis-spring-2.1.1.jar!/:2.1.1]

Jan 6 16:49:21 iZ2vcfti1q5gin57xi2214Z spring_blade_adminapp_jar: at com.sun.proxy.$Proxy158.selectList(Unknown Source) ~[na:na]

Jan 6 16:49:21 iZ2vcfti1q5gin57xi2214Z spring_blade_adminapp_jar: at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224) ~[mybatis-spring-2.1.1.jar!/:2.1.1]

Jan 6 16:49:21 iZ2vcfti1q5gin57xi2214Z spring_blade_adminapp_jar: at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:166) ~[mybatis-plus-core-3.5.3.2.jar!/:3.5.3.2]

Jan 6 16:49:21 iZ2vcfti1q5gin57xi2214Z spring_blade_adminapp_jar: at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77) ~[mybatis-plus-core-3.5.3.2.jar!/:3.5.3.2]

Jan 6 16:49:21 iZ2vcfti1q5gin57xi2214Z spring_blade_adminapp_jar: at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148) ~[mybatis-plus-core-3.5.3.2.jar!/:3.5.3.2]

Jan 6 16:49:21 iZ2vcfti1q5gin57xi2214Z spring_blade_adminapp_jar: at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89) ~[mybatis-plus-core-3.5.3.2.jar!/:3.5.3.2]


2条回答
  • 信息太少了,重现步骤是什么,是点击包的错还是启动报的错,需要描述更详细一些。

    调用的是什么接口,参数是什么等等都需要提供一下,不然我们无法重现

    0 讨论(0)
  • 1天前

    https://sns.bladex.cn/q-13490.html  重新提交了问题

    0 讨论(0)
提交回复