Caused by: java.lang.IllegalStateException: Unable to complete due to StackOverflower error

Caused by: java.lang.IllegalStateException: Due to a StackOverflower error,
this problem cannot be completed. I have been troubled for a long time. I checked many solutions, many of which were inappropriate, but I finally found a feasible one. Now I will summarize all the possibilities of this problem, as if Please feel free to correct me if there are any deficiencies:

1.检查jar包,是否有冲突的jar存在导致。
不过很多同学可能不知道那些jar包时冲突的,更不知道要删除那个,
所以这些要在平时遇见一个记住一个,我举个例子大家看下面的图,当然也还会有其它的。

The jar packages in the two red boxes conflict with the bcpg-jdk15on in the middle, so an error will be reported. They must be deleted. By the way, the same is true for bcprov-jdk15on (it is best to use version 16 or above).
Insert image description here

2.还有可能是artifacts没有导入lib包
步骤是先将web-info里的jar都导入到Module中,再导入到Libraries这样Artifacts里面才有jar包然后
要自己新建lib文件夹,在把右侧的jar包全部都input到里面(右键)

Here's a picture
Insert image description here

Guess you like

Origin blog.csdn.net/m0_46364149/article/details/125906805