Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Configuration Error: deployment source '(projectname): war exploded' is not valid

I have a project that runs Spring and I am using IntelliJ as the compiler. I started building the project in Ubuntu but I was having problems viewing my database edits so I switched to Windows and lost my Ubuntu partition (due to some other unrelated error). I am trying to reset up my project in Windows but I can't get it to compile properly.

I have tried redownloading IntelliJ, restarting my computer, clean installing maven, and searching everywhere for a solution. I found a link on IntelliJ's website but they never actually address a solution to the problem ( http://devnet.jetbrains.com/thread/436515 ). I started to try the unfinished advice to "remove all artifacts selected for deployment from the list and then add them again" but I cannot figure out how to add them again once deleted.

Additionally, I keep seeing the error "Configuration Error: deployment source '(projectname): war exploded' is not valid"

Any advice or tips to what I could try or am doing wrong would be great.

Thanks!

like image 874
codegirl Avatar asked Oct 31 '14 04:10

codegirl


2 Answers

This will happen when you remove an artifact that is already set in the configuration. You can see the artifact is red in the configuration:

Artifact that is missing

To solve it, just removed the missing one and add another valid artifact.

like image 147
RockingDice Avatar answered Nov 19 '22 14:11

RockingDice


Edit Configurations - deployment add your artifacts.

enter image description here

like image 13
Qinhai Ai Avatar answered Nov 19 '22 14:11

Qinhai Ai