某项目所需内存太大,idea默认的不够使用,报错如下
org.springframework.beans.factory.BeanCreationException: Error creating bean with name '_filterChainProxyPostProcessor': BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionAdvisor'。。。
解决方案:
在"Run/Debug Configurations" --> Configuration ---> Runner
设置 "VM Paraneters" 得值为:
-Xmx1024M
解决IDEA运行项目时因内存不足导致的错误。通过调整Run/Debug Configurations中的VM Parameters来增加最大可用内存。
973

被折叠的 条评论
为什么被折叠?



