使用Jrebel debug启动的时候报错,但是正常启动或者自带debug模式启动都没问题。

由此肯定是jrebel的问题了。当然也可能是我的版本问题,不论如何反正就是报错了。

 

错误描述如下:

Caused by: java.lang.ClassNotFoundException: org.apache.xerces.parsers.SecuritySupport$4

 

往上翻日志:

Error creating bean with name 'sqlSessionFactory' defined in class path resource 

 

再翻:

Exception encountered during context initialization...

 

感觉到了,就是Jrebel的问题。解决方式如下:

右击你的模块,调出Jrebel设置

Jrebel调试启动报错

 

设置使用相对路径,最后重新生成下jrebel的xml文件就行了

Jrebel调试启动报错

相关文章:

  • 2021-06-30
  • 2021-11-08
  • 2022-12-23
  • 2021-06-16
  • 2021-04-23
  • 2022-02-12
  • 2022-12-23
  • 2021-12-13
猜你喜欢
  • 2021-04-02
  • 2021-12-26
  • 2021-05-24
  • 2022-12-23
  • 2021-11-26
  • 2021-11-26
  • 2021-05-03
相关资源
相似解决方案