Error in project operation org.springframework.beans . factory.BeanCreationException : error creating bean with name can be configured by

I encountered this problem because the JDK memory and Tomcat I configured were not large enough, so the project ran with an error. I solved this problem through configuration.

JDK configuration memory size

-Xms500m -Xmx1024m -XX:NewSize=800m -XX:MaxPermSize=800m

Run eclipse normally, open window preferences Java, and the page window will pop up

 

 

Tomcat configuration is divided into two steps

The first step is to configure in eclipse

-Xms500m -Xmx1024m -XX:NewSize=256m -XX:MaxPermSize=512m

 

Find the path to configure and install tomcat, enter the bin file, and install Tomcat 7 by myself

-Xms500m
-Xmx1024m
-XX:PermSize=64M
-XX:MaxPermSize=256m
-XX:ReservedCodeCacheSize=48m
– Duser.timezone=GMT +08

 

After the configuration is completed, there is no error in running the project! Problem solving

 

 


Read More: