Troubleshooting: A file does not exist for a module element that has a Uniform Resource Identifier (URI)
When you start the WebSphere Commerce Test Server, you receive an error that states that a file does not exist.
Problem
When
starting the WebSphere Test
Server after enabling the Management Center feature, a file does not
exist error is displayed in the startup logs. For example,
[11-3-1 15:02:39:484 CST] 00000009 ApplicationMg E WSVR0100W: An error occurred initializing, WC
org.eclipse.jst.j2ee.commonarchivecore.internal.exception.NoModuleFileException: A file does not exist for module element having uri: Rest.war
Solution
To resolve this issue, you need
to rebuild the LOBTools project and republish the test server, as
follows:
- Open your WebSphere Commerce Developer workspace.
- Right-click the LOBTools project and rebuild it.
- If necessary, start the test server in the Servers view and ignore the error that states the file does not exist.
- After the test server starts, right-click the test server and click Publish. After publishing is complete, the error should no longer be displayed when you subsequently restart the test server.