facebook

Error message when building enterprise application project

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #350255 Reply

    taxcollector
    Member

    I am getting the following error message when building my project.

    No project modules assigned to enterprise project

    I import existing projects into my workspace. Afterwards, I do a clean and build. I keep getting the error message above. I tried invoking MyEclipse with the -clean option and removing the .log file, but neither has fixed the problem. I tried adding the modules by right clicking on the project and selecting the Add/Remove modules, but each time I click the Add button, there are no modules to add.

    Please help. Thank you.

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

    support-swapna
    Moderator

    taxcollector,

    Sorry that you are seeing this issue.

    Can you please give us some more information?

    1. In which version of MyEclipse was the project created ?

    2. Can you please make sure the project which you are trying to import contains the module projects as well?

    3. Are you importing the project using Import > JavaEE > EAR ? Do you see the module projects listed in the wizard?

    4. After you import the EAR project, do you see the module projects also imported to your workspace ? The ‘Add/Remove modules’ will list only those projects whose J2EE level is compatible with the J2EE level of the EAR project. Ex: If the EAR is J2EE 5.0, then the ‘Add Modules’ will list web projects whose J2EE level are 1.5 and below but will not list projects with J2EE level 1.6. Similarly it will list EJB 3.0 and below projects but not EJB 3.1 projects.

    5. If you are still seeing issues, please strip the project of its source code and send us all the .* files of the EAR and the module projects to help us replicate the issue at our end. Also share the Installation Details from MyEclipse > Installation Summary > Installation Details.

    Let us know how it works for you.

    #350277 Reply

    taxcollector
    Member

    Swapna,

    1. I am using MyEclipse version 10.

    2. I looked at the application.xml file in the META-INF folder for the project and the modules are listed in this file. Is there some other file I need to check?

    3. I am importing the project using File->Import->General-Existing Projects. I do not see the Import->JavaEE->EAR option?

    4. I import each of the project modules individually using the process above so each of the modules are in the workspace.

    5. Here are the installation details. I noticed the details state I am using WindowsVista, but I am using Windows 7 as the OS.

    *** Date:
    Thursday, July 10, 2014 10:18:00 AM PDT

    ** System properties:
    OS=WindowsVista
    OS version=6.1.0
    Java version=1.6.0_13

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 10.0
    Build id: 10.0-20111028

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 10.0
    Build id: 10.0-20111028

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\Users\mvu\AppData\Local\MyEclipse\MyEclipse 10\myeclipse.exe
    -name
    Myeclipse
    –launcher.library
    C:\Users\mvu\AppData\Local\MyEclipse\MyEclipse 10\../Common/plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_3.2.0.v201103301700\eclipse_3215.dll
    -startup
    C:\Users\mvu\AppData\Local\MyEclipse\MyEclipse 10\../Common/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    -install
    C:/Users/mvu/AppData/Local/MyEclipse/MyEclipse 10
    -vm
    C:/Users/mvu/AppData/Local/MyEclipse/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll

    Before sending you the project files stripped of the code, I can try importing the project using Import->JavaEE->EAR, but I don’t see this option. Please clarify this step and I will try it. Thank you.

    #350294 Reply

    support-swapna
    Moderator

    taxcollector,

    Thank you for the details. The OS shown as WindowsVista instead of Windows 7 is a known issue in ME 10.x which is fixed in later releases.

    1) Is the project you are importing also created in MyEclipse 10.0 ? How was this project exported? Is it as a .ear or .zip file?

    2) You need to enable WTP Extras from Window > Preferences > General > Capabilities > Advanced. Expand MyEclipse Standard Tools , scroll down and check ‘WTP Extras’. You will now see the Import > JavaEE > EAR.

    3) Can you also please update your installation to MyEclipse 2014 or our latest version MyEclipse 2015 ? We have made several fixes and enhancements since the MyEclipse 10.0 release. You can download the installer from here, install it to a different location and give it a try.

    The license you currently hold is valid for latest releases as well. Please give it a try and see if the issue persists. If you are still seeing issues, please send us all the .* files to help us investigate further.

    4) It would be helpful if you can prepare and send us a document with the screenshots for the steps you are following when importing the project.

    Let us know how it works for you.

    #350382 Reply

    taxcollector
    Member

    Swapna,

    Still working on this and trying to get it resolved. Will respond to your questions. Thank you for your help.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Error message when building enterprise application project

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