facebook

Building and code change is slow

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 15 posts - 46 through 60 (of 79 total)
  • Author
    Posts
  • #674098 Reply

    CS Tan
    Participant

    Attached the maven project structure

    Attachments:
    You must be logged in to view attached files.
    #674100 Reply

    CS Tan
    Participant

    Let me know if you need to drill down further.

    #674101 Reply

    CS Tan
    Participant

    Let me know if you need to drill down further.

    #674102 Reply

    support-swapna
    Moderator

    Hi,

    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 the element 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

    #674107 Reply

    CS Tan
    Participant

    1) 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 entry

    When 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.

    #674108 Reply

    support-swapna
    Moderator

    Hi,

    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

    #674112 Reply

    CS Tan
    Participant

    As requested. Let me know if you need more information.

    Attachments:
    You must be logged in to view attached files.
    #674119 Reply

    support-swapna
    Moderator

    Hi,

    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

    #674120 Reply

    CS Tan
    Participant

    Thanks for working on this.

    #674121 Reply

    CS Tan
    Participant

    Resending

    #674122 Reply

    CS Tan
    Participant

    Resending again

    #674123 Reply

    CS Tan
    Participant

    I cannot the files even when I rename. Its getting frustrating.

    #674124 Reply

    CS Tan
    Participant

    Nameing them file1 and file2

    #674125 Reply

    CS Tan
    Participant

    Sorry I cannot send. I will send you screen shot instead.

    #674126 Reply

    CS Tan
    Participant

    Screen shot of the application xml

    Attachments:
    You must be logged in to view attached files.
Viewing 15 posts - 46 through 60 (of 79 total)
Reply To: Building and code change is slow

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