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:
- Caused by: org.springframework.beans.factory.beancreationexception: error creating be
- org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘serviceImpl‘
- Spring configuration error: org.springframework.beans . factory.BeanCreationException : Error creating bean with name ‘m
- org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name
- org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘use
- appear org.springframework.beans . factory.BeanCreationException Causes and solutions of abnormal
- Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of ty
- shiro Error org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type
- Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException
- org.springframework.beans.factory.UnsatisfiedDependencyException
- Org.springframework.beans.factory.xml.xmlbeandefinitionstoreexception: the wildcard matching is comprehensive, but the declaration of element XX: XX XX cannot be found
- Error creating bean with name ‘feignTargeter‘ defined in class path resource [org/springframework/cl
- Unable to read Scheme Document ‘ http://www.springframework.org/schema/beans/spring-beans-4.1.xsd ‘ [How to Fix]
- Error creating bean with name ‘org.springframework.security.oauth2.config.annotation.web.configurati
- org.springframework.dao.InvalidDataAccessApiUsageException: Bean object must not be null; nested exc
- Image file upload error org.springframework.beans .ConversionNotSupportedException
- When SSM + Maven project is running, it is prompted that org.springframework.web.servlet.dispatcherserservlet cannot be found
- Idea couldn’t be found org.springframework.context .support
- The connection pool of SSM project database cannot be connected. The project can run normally and the database cannot be connected