facebook

No JPA dialog?

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #281168 Reply

    Steve Olson
    Member

    On 6.0.1, I have a project that has Spring capabilities and I want to add JPA. But if I use the menu item for adding JPA Capabilities, nothing happens – no dialog pops up. Eclipse lets me proceed with other stuff, so it’s as if the menu selection for JPA is just doing nothing. So far this is the only capabilities menu entry I’ve tried that doesn’t work. This is also the first time I’ve tried to add JPA to a project.

    Does anyone know a cause for this, or what I should do to diagnose? Thanks in advance…

    #281185 Reply

    Loyal Water
    Member

    Can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.

    Is the Add JPA capabilities grayed out ?

    #281208 Reply

    Steve Olson
    Member

    Sure – Add JPA is not greyed out – it’s enabled. Clicking on it just dismisses the menu and does nothing else i can see.

    here’s the Installation Details:

    *** Date:
    Monday, January 28, 2008 11:01:40 AM CST

    ** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.6.0_04

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 6.0.1 GA
    Build id: 6.0.1-GA-200710

    *** Eclipse details:
    Eclipse SDK

    Version: 3.3.1
    Build id: M20070921-1145

    Eclipse Project SDK

    Version: 3.3.2.R33x_r20071022-7M7J7C_Mu2gop0b_GAwplOBhyuKO
    Build id: M20070921-1145

    Eclipse Plug-in Development Environment

    Version: 3.3.2.R33x_r20071022-7N7M4CYWLBCz-yHkMIuHN
    Build id: M20070921-1145

    Eclipse Platform

    Version: 3.3.2.R33x_v20071022-_19UEksF-G8Yc6bUv3Dz
    Build id: M20070921-1145

    Eclipse RCP

    Version: 3.3.2.R33x_r20071022-8y8eE9CEV3FspP8HJrY1M2dS
    Build id: I20070625-1500

    Eclipse Java Development Tools

    Version: 3.3.1.r331_v20070629-7o7jE72EDlXAbqAcnbmyg1rf8RIL
    Build id: I20070625-1500

    Eclipse Graphical Editing Framework

    Version: 3.3.1.v20070814
    Build id: 20070814-1555

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\eclipse\eclipse\eclipse.exe
    -name
    Eclipse
    –launcher.library
    C:\eclipse\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.1.R33x_v20070828\eclipse_1020.dll
    -startup
    C:\eclipse\eclipse\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
    -vm
    C:\Program Files\Java\jre1.6.0\bin\client\jvm.dll

    #281210 Reply

    Loyal Water
    Member

    skolson,
    Can you switch to a new workspace, create a new web project, Add Spring Capabilities to it followed by JPA capabilities. Does you face the same issue ?

    #281250 Reply

    Steve Olson
    Member

    I found the problem – When I added Spring capabilities to the project in question, I used a UserLibrary that points to Spring 2.5.1 because I need a feature in Spring 2.5 (the ability to use parms in the parent attribute – parent=”xxx${someparm}”). If I don’t use MyEclipse’s Spring libraries (from 2.0.x), the Add JPA dialog doesn’t pop.

    Am I just out-of-luck until MyEclipse supports Spring 2.5.x? Or is there a workaround for this?

    #281251 Reply

    Loyal Water
    Member

    I’m sorry there is no workaround at the moment.

    #281567 Reply

    clwandling
    Member

    Can I just add the jars to the project and then write annotations myself. Is the only thing I miss out on if I use Spring 2.5 the use of a dialog?

    #281588 Reply

    Loyal Water
    Member

    Im really not sure if you can get things to work by just adding the jars. You might run into other issue. You can try this for a small project and see if it works before you apply it to your project.

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: No JPA dialog?

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