- This topic has 78 replies, 3 voices, and was last updated 3 years, 4 months ago by support-swapna.
-
AuthorPosts
-
CS TanParticipantAttached the maven project structure
Attachments:
You must be logged in to view attached files.
CS TanParticipantLet me know if you need to drill down further.
CS TanParticipantLet me know if you need to drill down further.
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 Support
CS TanParticipant1) 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.
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 Support
CS TanParticipantAs requested. Let me know if you need more information.
Attachments:
You must be logged in to view attached files.
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 Support
CS TanParticipantThanks for working on this.
CS TanParticipantResending
CS TanParticipantResending again
CS TanParticipantI cannot the files even when I rename. Its getting frustrating.
CS TanParticipantNameing them file1 and file2
CS TanParticipantSorry I cannot send. I will send you screen shot instead.
-
AuthorPosts