Too many assemblies in mybatis spring mapper cause stackoverflow
It is applicable to idea starting a new SSM project
environment Tomcat deployment
reason: the space size of Tomcat catalina.sh is not configured
terms of settlement
1. Modify the catalina.sh file of Tomcat
Directory: Apache Tomcat \ bin \ Catalina. Sh
self allocated space size
Directory: JDK \ 1.8 \ JRE \ lib \ AMD64 \ JVM. CFG
self allocated space size
2. Easy: modify the current project configuration of idea
two point one
Generally, 2100 variables are enough
Tomcat startup space configuration
-Xms512m -Xmx512m -Xss2m -XX:PermSize=512m -XX:MaxPermSize=1024m
Restart to solve the problem
I am the second configuration. Because there is a configured space allocation on the server, my locally developed tester is simply configured on the idea.
Read More:
- Request processing failed;nested exception is java.lang.*
- Spring nested exception is java.lang.NoClassDefFoundError: org/springframework/core/MethodClassKey
- Realize the simplest recursive call, simulate exception in thread “main” java.lang.stackoverflowerror exception
- Error in idea compilation: java.lang.OutOfMemoryError Java heap space and java.lang.StackOverflowError
- Caused by: java.lang.IllegalStateException: Ambiguou There is already ‘XXXXXXController‘ bean method
- Dontshlink resolves Proguard error: java.lang.stackoverflowerror
- Regular error in UDF java.lang.stackoverflowerror
- Maven package error reporting java.lang.stackoverflowerror solution
- SQL state [null]; error code [0]; Error; nested exception is java.sql.SQLException: Error] with root
- How to Fix error performing isolated work; SQL [n/a]; nested exception is org.hibernate.exception.SQLGrammarE
- [Solved] nested exception is com.alibaba.dubbo.rpc.RpcException: Failed t o invoke the method findPage
- keytool error: java.lang.Exception: Failed to establish chain from reply
- exception is java.lang.LinkageError: loader constraint violation: loader
- nested exception is org.hibernate.PropertyAccessException: Null value was assigned to a property
- The @ Autowired annotation in springboot is invalid in ordinary classes. How to solve and use the null pointer exception java.lang.nullpointerexception
- Could not start Quartz Scheduler after delay; nested exception is org.quartz.SchedulerException:
- java.lang.IllegalArgumentException : urlcoder exception resolution
- java.lang.IllegalStateException Exception: cause analysis and solution
- java.lang.Throwable: Substituted for the exception com.bea.xml.SchemaTypeLoaderException which lack
- Mybatis exception error setting driver on unpoleddatasource. Cause: java.lang.ClassNotFoundException :