ERROR - com.ibm.etools.j2ee.commonarchivecore.exception.NoModuleFileException: A file does not exist for module element having uri:


Problem -

Error com.ibm.etools.j2ee.commonarchivecore.exception.NoModuleFileException: A file does not exist for module element having uri: while publishing application.

Resolution - 

1)Start the server.

2)After the server starts, open the admin console

3)GO to the Enterprise applications and uninstall the app.

4)Save to the master

5)Stop the server.

6)right click the server and choose add or remove projects and then remove the app from there

7)start the server

8)Publish again.