tomcat deployment invalid again and again in latest version
已回答
2022.3.1 ultimate edition
After upgrading to the latest version, my tomcat deployment shown as invalid, like the attachment shown:
in order to solve this problem, I need to remove them from tomcat deployment configuration then add them again.
However, after some time period, it shows invalid again, and I have to remove and add them again.
I repeat 3 or 4 times until now within 4 days. This error never happen before upgrading.
what's the problem?
请先登录再写评论。
Hi,
You can collect the IDE logs (Help | Collect Logs and Diagnostic Data),
upload them (snapshot files and log files) to https://uploads.jetbrains.com/, and provide their upload IDs here, and we will investigate it.
You may also try to store the run configuration as a project file, it sits in the directory: .idea/runConfigurations .
Then when the issues were reproduced, you can right-click the run configuration file and select the menu Local History > Show History , then you can check why the file's content is modified.
Jacky Liu Thanks for your response.
1. for "Help | Collect Logs and Diagnostic Data", it seems that show all app data in my pc besides idea, so if I upload the logs, do I only upload files like "idea-logs-20230112-0907326303680320644130737.zip"?
2. for your second approach ".idea/runConfigurations", I searched "runConfigurations" in my windows pc, but nothing found.
1. That's ok only upload files like "idea-logs-20230112-0907326303680320644130737.zip".
2. You may store it as a file by following the guide here:
From menu Run | Edit or by clicking the run configurations drop down button first:
Then in the opened dialog, select the checkbox Store as project file , then close and open your project again you will see the new files under ".idea/runConfigurations".
You may read this doc for more info:
https://www.jetbrains.com/help/idea/2022.3/run-debug-configuration-tomcat-server.html#common
Hi Jacky, I have uploaded the log files, the Upload ID: 2023_01_16_24ySWzrzcoV6jHrdA7MrZw, please help, Thanks!
The latest case in today is : I open the idea with trunk, then open the branch in the same window, later open the trunk in the same window again, and the invalid shown.
Hi,
I've noticed a lot of messages that like this:
"Maybe you can share one of your Tomcat run configuration file as I described above.", for this, do you mean "
You may also try to store the run configuration as a project file, it sits in the directory: .idea/runConfigurations .
Then when the issues were reproduced, you can right-click the run configuration file and select the menu Local History > Show History , then you can check why the file's content is modified." ?
If yes, and where can I right-click the run configuration file and see the 'Local History'? right click in idea(I can't see this file from idea but can see it in .idea/runConfigurations) or right click in windows?
> right click in idea(I can't see this file from IDEA but can see it in .idea/runConfigurations) or right click in windows?
One way is to restart the IDEA and you will see the files, or you can see the content of the file in the Windows file explorer.
You can either paste the content here or upload it to https://uploads.jetbrains.com/.
You can also try disabling the settings sync function temporarily because some user reports that their system config got corrupted across devices.