spring, how to change cglib naming policy

橙三吉。 提交于 2019-12-07 00:34:48

问题


When spring creates a proxy, it uses cglib with default naming policy. Is there any way to change the naming policy? Generated class names clash with another framework I use.


回答1:


It seems cglib claims it can detect name clashes but for some reason it does not in this case.

Because of that problem (and your report?) the other framework you are using (catch-exception) patched their code to avoid it.



来源:https://stackoverflow.com/questions/19741285/spring-how-to-change-cglib-naming-policy

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!