There is nothing wrong with the configuration
Press the
CTRL + Alt + shift + s code> open Project Structure (Project Structure)
click the module without struts 2, click on the plus sign
as shown
the user-defined structs. XML code> and
user-defined structs - default. XML code> to join