当前位置:网站首页>@Problems caused by internal dead loop of postconstruct method
@Problems caused by internal dead loop of postconstruct method
2022-04-23 06:09:00 【commonBean】
One springboot project , Because the project is deployed in a microservice environment , Will be regularly detected heartbeat , As a result, no heartbeat was detected alive or dead ( Call the... Of the project /health request ). Then check the configuration , No problem found ; Compare with other projects , No problems found ; Redeployment , There is still a problem .
In desperation , Only look at the code .
When you see a class init The method uses @PostConstruct annotation , I found something wrong . Because this method uses while(true), It's been a dead cycle and can't jump out , It's stuck here , So it didn't start Tomcat. Get rid of , Redeployment , It's finally over !
Still need more experience , To gain more experience .
版权声明
本文为[commonBean]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204220533053385.html
边栏推荐
- Pytorch學習記錄(十三):循環神經網絡((Recurrent Neural Network)
- MySQL best practices for creating tables
- Anaconda安装PyQt5 和 pyqt5-tools后没有出现designer.exe的问题解决
- Create enterprise mailbox account command
- PyTorch笔记——观察DataLoader&用torch构建LeNet处理CIFAR-10完整代码
- Solve the error: importerror: iprogress not found Please update jupyter and ipywidgets
- Pytorch Learning record (XIII): Recurrent Neural Network
- What is the difference between the basic feasible solution and the basic feasible solution in linear programming?
- 自動控制(韓敏版)
- In depth understanding of the relationship between dncblevel and noise denoising in the paper
猜你喜欢
Solve the error: importerror: iprogress not found Please update jupyter and ipywidgets
Delete and truncate
Font shape `OMX/cmex/m/n‘ in size <10.53937> not available (Font) size <10.95> substituted.
无监督去噪——[TMI2022]ISCL: Interdependent Self-Cooperative Learning for Unpaired Image Denoising
The user name and password of users in the domain accessing the samba server outside the domain are wrong
卡尔曼滤波与惯性组合导航
PyQt5学习(一):布局管理+信号和槽关联+菜单栏与工具栏+打包资源包
20 excellent plug-ins recommended by idea
A general U-shaped transformer for image restoration
PyTorch笔记——观察DataLoader&用torch构建LeNet处理CIFAR-10完整代码
随机推荐
3. Continuous integer
治疗TensorFlow后遗症——简单例子记录torch.utils.data.dataset.Dataset重写时的图片维度问题
A general U-shaped transformer for image restoration
C3p0 database connection pool usage
如何利用对比学习做无监督——[CVPR22]Deraining&[ECCV20]Image Translation
Pytorch learning record (XI): data enhancement, torchvision Explanation of various functions of transforms
Three ways to create threads
6.Reversal
Programming record - picture rotation function SciPy ndimage. Simple use and effect observation of rotate()
Solve the error: importerror: iprogress not found Please update jupyter and ipywidgets
Pytoch learning record (x): data preprocessing + batch normalization (BN)
Pytorch Learning record (XIII): Recurrent Neural Network
卡尔曼滤波与惯性组合导航
Optional best practices
去噪论文——[Noise2Void,CVPR19]Noise2Void-Learning Denoising from Single Noisy Images
治療TensorFlow後遺症——簡單例子記錄torch.utils.data.dataset.Dataset重寫時的圖片維度問題
Pytorch学习记录(十二):学习率衰减+正则化
20 excellent plug-ins recommended by idea
Pytorch learning record (IX): convolutional neural network in pytorch
The official website of UMI yarn create @ umijs / UMI app reports an error: the syntax of file name, directory name or volume label is incorrect