I am trying to resolve and invalid package name currently my package looks like this:
-com
--domain
---app
----domain
so the package name is com.domain.app.domain
It needs to be com.domain.app, I have tried to move the contents of ----domain, into ---app but I get an IOException and am told certain directories cannot be moved?
I first get warnings Multiple directories correspond to package, these directories will be moved and all references changed, I select 'Yes', I then select refactor and I see the refactoring preview, I select do refactor and I get java.io.IOException: Cannot move 'and the a reference to the first directory here'.
How else can I resolve this, if I cannot move the files or delete the package?