facebook

Missing resources in jar files

  1. MyEclipse IDE
  2.  > 
  3. Maven for MyEclipse (Maven4MyEclipse)
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #317557 Reply

    Mulder8472
    Member

    we have a multi project web project. some of the modules have resources (e.g. spring config files or faces-config files) which need to be packed in the jar files META-INF folder, or deploy to WEB-INF/classes/META-INF (depending on your deployment method).

    This kind of works, but we are experiencing random behaviour in that often a module would be deployed without its resources. it is very annoying because you can not distinguish a real problem from those random deploy errors. The only temporary solution I came up with so far is to right click the project and select Maven4MyEclipse–>Update Project Configuration. Nothing actually changes within the project, but it will start to deploy the resources (from src/main/resources) to the server again… at least for a while.

    any hints or help is greatly appreciated, this is causing us some pain…
    oh, we run ME 8.6.

    #317558 Reply

    support-joy
    Member

    Mulder8472,

    Sorry to hear you are running into this issue. Could you try this – remove the “maven-resources-plugin” from the local repository in your system and build your project again. This would force maven to add necessary resources.

    Let me know how this works for you.

    Best.

    #317561 Reply

    Mulder8472
    Member

    i have removed the plugin. but it did not make any difference, after a few redeploys to tomcat, it started to randomly forget resources again.

    #317591 Reply

    support-joy
    Member

    Mulder8472,

    I am escalating your issue to dev team member. They would get back to you on this.
    Could you provide below details –
    1. Copy and paste your installation details. Refer – https://www.genuitec.com/forums/topic/troubleshooting-how-to-view-the-installation-details/&highlight=
    2. Clear your .log file located at [your workspace dir]/.metadata/.log, replicate issue and copy and paste the same here. Refer – https://www.genuitec.com/forums/topic/troubleshooting-how-to-upload-attachments-on-forum/&highlight=

    Sorry for the inconvenience.

    #317603 Reply

    and please send us Your pom.xml. Thanks.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Missing resources in jar files

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