- This topic has 7 replies, 3 voices, and was last updated 16 years, 9 months ago by Loyal Water.
-
AuthorPosts
-
Steve OlsonMemberOn 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…
Loyal WaterMemberCan you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.
Is the Add JPA capabilities grayed out ?
Steve OlsonMemberSure – 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 SDKVersion: 3.3.1
Build id: M20070921-1145Eclipse Project SDK
Version: 3.3.2.R33x_r20071022-7M7J7C_Mu2gop0b_GAwplOBhyuKO
Build id: M20070921-1145Eclipse Plug-in Development Environment
Version: 3.3.2.R33x_r20071022-7N7M4CYWLBCz-yHkMIuHN
Build id: M20070921-1145Eclipse Platform
Version: 3.3.2.R33x_v20071022-_19UEksF-G8Yc6bUv3Dz
Build id: M20070921-1145Eclipse RCP
Version: 3.3.2.R33x_r20071022-8y8eE9CEV3FspP8HJrY1M2dS
Build id: I20070625-1500Eclipse Java Development Tools
Version: 3.3.1.r331_v20070629-7o7jE72EDlXAbqAcnbmyg1rf8RIL
Build id: I20070625-1500Eclipse Graphical Editing Framework
Version: 3.3.1.v20070814
Build id: 20070814-1555Eclipse 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
Loyal WaterMemberskolson,
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 ?
Steve OlsonMemberI 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?
Loyal WaterMemberI’m sorry there is no workaround at the moment.
clwandlingMemberCan 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?
Loyal WaterMemberIm 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.
-
AuthorPosts