In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article to share with you is about springboot to create a folder failure solution, Xiaobian feel quite practical, so share to everyone to learn, I hope you can read this article after some harvest, not much to say, follow Xiaobian to see it.
springboot failed to create folder
Today, I wrote the springboot project with idea. Obviously, I created two folders in idea.
However, when opened step by step with the icon, there is no mapper and model folder
Finally found that the project on the desktop, idea does not have write permissions, need to use administrator mode to open idea, the problem solved.
springboot log directory creation failed
Encountered problems with startup project log directory creation failure
The first possibility is that your startup configuration file is not specified in the position indicated by the arrow in the figure below, resulting in the project startup not finding the directory where your log file was created.
The second possibility is that if your configuration file specifies the configuration class required for startup, it may be that your computer or system does not allow the creation of a corresponding folder under the root directory. You can change logback.xml to specify the log output directory. If it is not online, you can choose to write an absolute path. If you want to go online, it is recommended to output it under the project directory.
./ logs/xxx/running.log.% d{yyyy-MM-dd}.% i.log The above is the solution to the failure of springboot to create a folder. Xiaobian believes that some knowledge points may be seen or used in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.
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: 0
*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.