facebook

Issues deploying maven webapp using MyEclipse 2014

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #351249 Reply

    tonyjinks
    Member

    I have created a simple Maven web application (the only addition to the generated code is a trivial servlet). If I run a Maven ‘clean’ and ‘install’ from within MyEclipse as separate operations then everything is fine. However if I run ‘clean install’ as a single operation then I can no longer deploy the app to the embedded Tomcat server. It shows in the servers tab with a ‘Redeploy’ warning and I see the following errors in the log:

    Could not read pom.xml

    Cannot find the file C:\Users\tjinks\Workspaces\proto\watest\target\m2e-jee\web-resources\META-INF\MANIFEST.MF in the file system. Make sure the file exists and try deployment again

    Cannot find the file C:\Users\tjinks\Workspaces\proto\watest\target\m2e-jee\web-resources\META-INF\maven\watest\watest\pom.xml in the file system. Make sure the file exists and try deployment again

    Maven operations run outside of MyEclipse can also cause the above problem to occur.

    This wasn’t an issue in MyEclipse 10. Is there a change I can make to my configuration to get round it?

    Thanks,

    Tony Jinks

    #351252 Reply

    support-swapna
    Moderator

    Tony,

    Thank you for pointing to this issue. Looks like the contents of the directory are not refreshed when performing clean install as single operation. Refreshing the project before deploying should fix the issue. Please refresh the project and then deploy.

    I have raised a bug for the dev team to investigate further.

    Let us how it works for you.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Issues deploying maven webapp using MyEclipse 2014

You must be logged in to post in the forum log in