- This topic has 78 replies, 3 voices, and was last updated 4 years ago by
support-swapna.
-
AuthorPosts
-
May 26, 2021 at 6:23 am #674098
Attached the maven project structure
Attachments:
You must be logged in to view attached files.May 26, 2021 at 6:34 am #674100Let me know if you need to drill down further.
May 26, 2021 at 6:34 am #674101Let me know if you need to drill down further.
May 26, 2021 at 6:50 am #674102
support-swapnaModeratorHi,
Thank you for the screenshots.
1) Did both the options from the Quick Fix not help? Can you try adding
<pluginManagement>
to pom.xml just above theelement and check?
2) I see the EJB is also added as a dependent project for the Web. Is this intended? If no, then right click on the Web project > Properties > Deployment > Deployment Assembly and remove the EJB entry. Save the changes. Go back to the EAR and now try deploying it.–Swapna
Genuitec SupportMay 26, 2021 at 9:04 am #6741071) The problem with the error is fixed with <pluginManagement>
2) The EJB is not dependent. I have removed it: Web project > Properties > Deployment > Deployment Assembly and remove the EJB entryWhen I try to deploy again, it fails again. Same message
Stack trace of nested exception:
org.eclipse.jst.j2ee.commonarchivecore.internal.exception.NoModuleFileException: A file does not exist for module element having uri: com.company.belsize-belsize-ejb-0.1-SNAPSHOT.jar
at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ModuleRefImpl.checkType(ModuleRefImpl.java:591)The application.xml has already been changed to reflect what is shown in the DD of the EAR file.
May 26, 2021 at 9:10 am #674108
support-swapnaModeratorHi,
Please share the screenshot of the EAR’s Deployment Assembly page and also share the contents of the application.xml file.
Also share the complete Console output to help us get full error details once again.–Swapna
Genuitec SupportMay 26, 2021 at 10:34 am #674112As requested. Let me know if you need more information.
Attachments:
You must be logged in to view attached files.May 26, 2021 at 11:07 am #674119
support-swapnaModeratorHi,
The application.xml files haven’t come across. Please rename the extension to .txt and attach it here.
One final check, can you go to the EAR Deployment Assembly page, delete the EJB entry, save the changes, check if the entry is also deleted from the application.xml file and then deploy with only the web project. Does it deploy fine?Now go back to the Deployment Assembly page, click on ‘Add’, select ‘Project’ and then select the EJB project. You should see the EJB project now as it is not added to the Deployment Assembly page. Once added, save the changes and check if an entry is added to the application.xml. At this point, share the entry details with us. Now try deploying again and see if it works.
–Swapna
Genuitec SupportMay 26, 2021 at 11:19 am #674120Thanks for working on this.
May 26, 2021 at 11:21 am #674121Resending
May 26, 2021 at 11:22 am #674122Resending again
May 26, 2021 at 11:23 am #674123I cannot the files even when I rename. Its getting frustrating.
May 26, 2021 at 11:25 am #674124Nameing them file1 and file2
May 26, 2021 at 11:26 am #674125Sorry I cannot send. I will send you screen shot instead.
May 26, 2021 at 11:28 am #674126 -
AuthorPosts