- This topic has 4 replies, 3 voices, and was last updated 13 years, 5 months ago by support-tomasz.
-
AuthorPosts
-
Mulder8472Memberwe 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.
support-joyMemberMulder8472,
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.
Mulder8472Memberi have removed the plugin. but it did not make any difference, after a few redeploys to tomcat, it started to randomly forget resources again.
support-joyMemberMulder8472,
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.
support-tomaszMemberand please send us Your pom.xml. Thanks.
-
AuthorPosts