```FAILURE: Build failed with an exception. 16:27:...
# flutter
s
Copy code
FAILURE: Build failed with an exception.
16:27:02  
16:27:02  * What went wrong:
16:27:02  A problem occurred configuring project ':NewInfraSupportTool'.
16:27:02  > Cannot add task 'tomcatRun' as a task with that name already exists.
16:27:02  
16:27:02  * Try:
16:27:02  Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.
16:27:02  
16:27:02  * Get more help at <https://help.gradle.org>
16:27:02  
16:27:02  Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
16:27:02  Use '--warning-mode all' to show the individual deprecation warnings.
16:27:02  See <https://docs.gradle.org/6.8.1/userguide/command_line_interface.html#sec:command_line_warnings>
16:27:02  
16:27:02  BUILD FAILED in 14s