can not access a member of class org.springframework.aop.TruePointcut with modifiers public

孤人 提交于 2019-12-03 02:09:42

This class is not public itself. It is package protected (see here). You have to call setAccessible(true) before access its member exactly as when you access private or protected member.

EDIT. Unfortunately you have not provided full stack trace. If this exception is result of your activity (I mean you try to access member of Spring class yourself) the solution is above. If however this happened as result of frameworks collision please send more details. Probably your versions of Struts and Spring are not compatible or some additional configuration is required.

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