Another entities-cannot-be-cast-to-javassist-util-proxy-proxy

后端 未结 3 1067
北海茫月
北海茫月 2021-01-18 08:09

Following thread [entities cannot be cast to javassist.util.proxy.Proxy, i do have now a server side error ( tks thomas) I wasn\'t able to face the real problem within my ap

3条回答
  •  时光说笑
    2021-01-18 08:35

    So I ran into this issue, and I thought I would add some additional details for those who might have the same problem.

    I had a collection of dependencies, and one imported org.javassist:javassist:3.18.1-GA, while the other imported javassist:javassist:3.11.0.GA.

    Because of the different groups (it would seem that javassist:javassist became org.javassist:javassist), the build tool wasn't excluding one in favour of the other, and my WAR file had both.

    I had to manually exclude the old javassist dependency, and once it was removed everything was fine.

提交回复
热议问题