Configuration error: deployment source '(project name): war exploded' is not valid

I have a project that starts Spring, and I'm using IntelliJ as a compiler. I started building a project in Ubuntu, but I had problems viewing changes in my database, so I switched to Windows and lost my Ubuntu partition (due to some other unrelated error). I am trying to reset my project on Windows, but I cannot compile it correctly.

I tried restarting IntelliJ, rebooting the computer, cleaning up the maven installation and looking for a solution everywhere. I found a link to the IntelliJ website, but they never solved the problem ( http://devnet.jetbrains.com/thread/436515 ). I began to try the incomplete advice "remove all artifacts selected for deployment from the list and then add them again", but I cannot figure out how to add them again after deletion.

In addition, I see the error "Configuration Error: Deployment Source" (project name): "Invasion of War" is invalid "

Any advice or advice that I might try or do wrong would be great.

Thank!

+4
source share
5

, .

1. , (-: ) , , :

2.Build Artifacts [( ) - build - build artifacts - build]

3.Edit Configurations -

+4

- .

enter image description here

+1

.

, - .war . Project Structure > Artifacts, ( IntelliJ ) .

+1

A long time ago, I ran into a similar problem. I created a Spring MVC web application using IntelliJ on Ubuntu (runs in a virtual machine). Later, when I tried to run it on Windows IntelliJ, it staggered ... so fix it ... I deleted all the IntelliJ configuration files, * .iml target WARs and then it worked fine.

0
source

Artifact assembly (top menu - artifact assembly):

(top munu) - bulid - build artifacts [show image2

-1
source

All Articles