[Solved] Configuration Error: deployment source ‘xxx:war‘ is not valid

1. Error reporting

2. Cause

The latest artifact is not updated in the Tomcat configuration in the idea configuration.

3. Solution

1. Edit configuration

2. Click deployment to see that war is red. Click the ‘-‘ sign on the right to delete the old war package

3. Add a new artifact

4. OK.

Read More: