In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces the "springboot add dao layer startup failure to do", in the daily operation, I believe that many people in springboot add dao layer startup failure how to do the problem, the editor consulted all kinds of information, sorted out a simple and easy-to-use method of operation, hope to answer the "springboot add dao layer startup failure how to do" help! Next, please follow the editor to study!
The following error occurred during the project startup today:
The specific information is as follows:
Application.properties
Spring.profiles.active=dubbo,datasource,quartz,email
Application-datasource.properties
# col data source configuration col.datasource.driver-class-name=com.mysql.jdbc.Drivercol.datasource.jdbc-url=jdbc:mysql://127.0.3.24:3311/col?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=truecol.datasource.username=colcol.datasource.password=colcol.datasource.minimum-idle=10col.datasource.maximum-pool-size=30collection.datasource.pool-name=col-db-poolcol.datasource.max-lifetime=1800000col.datasource.idle-timeout = 600000col.datasource.connection-timeout=30000col.datasource.auto-commit=truecol.datasource.validation-timeout=5000col.datasource.leak-detection-threshold=0
After repeated attempts, we found that it would be good to remove the. * from the MaperScan in config (there are also subfolders under the other folders with. *):
The above can be summarized as follows:
If there are subfolders in the directory of basePackages, you can add. *, if there are no subfolders, you need to remove them. *
At this point, on the "springboot add dao layer startup failure what to do" study is over, I hope to be able to solve everyone's doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 213
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.