on 11-17-2008 2:02 PM
Hello!
I'm quite new to the topic. I've only started up creating web dynpros and integrating them to the portal. Now I'm following the SDN tutorial "Consuming EJB's in Web Dynpro for CE 7.1" see link: [Web Dynpro for Java|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b030e7fb-2662-2b10-0dab-c4aa52c3550b]
I'm having trouble on page 35 adding the Java Persistence as a Project Facet. I get an Error saying 2 things:
Java Persistence 1.0 requires Java 5.0 or newer.
Constraints for Java Persistence 1.0 have not been met.
I'm running Sap NetWeaver Developer Studio with jdk1.5.0_14
Can anyone help me with this one? Please? Thanks in advance!
Hi Sebastian,
I have done this tutorial successfully.
This problem occurs if the EJB Project taht is created, does not belong to Java EE version 5. You need to make this selection while creating the EJB Project. This is discussed at Page 19 of the Tutorial.
You can check the following:
1. Project Facets property of your EJB Project should show the current Java Facet as 5.0 and EJB Module as 3.0.
2. Are you doing it in the Local Development way or are you using any software component (SWC) for the development ? If it is not Local developemnt, check if the SWC supports Java 5.0 development.
Regards,
Alka.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Hope you have the CE version of the NWDS.
Please check the Window->Preferences->Java->Compiler->Compiler compliance level.
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.