NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
deunz
Joined: 06 May 2012 Posts: 3
|
Posted: Sun May 06, 2012 1:42 pm Post subject: JPA 2.0 - I can't compile EntityJPAController |
|
|
Hello,
I am kinda new to Developement, JAVA and Netbeans, also my english isn't really good so I apologies.
IDE : Netbeans 7.0.1
JPA lib : Persistence -ejb3-persistence.jar
Persistence Unit : EclipseLink (JPA2.0)
OS : Windows Seven
Here is the error message i get when i try to compile any of EntitiesJPAController
error: cannot find symbol
CriteriaQuery cq = em.getCriteriaBuilder().createQuery();
I can't find a way to perform a build of my EJB module.
Thanks for help.
Last edited by deunz on Mon May 07, 2012 6:37 pm; edited 1 time in total |
|
| Back to top |
|
 |
deunz
Joined: 06 May 2012 Posts: 3
|
Posted: Mon May 07, 2012 8:25 am Post subject: |
|
|
Any help ?  |
|
| Back to top |
|
 |
deunz
Joined: 06 May 2012 Posts: 3
|
Posted: Wed May 09, 2012 8:51 pm Post subject: resolved |
|
|
I came from Persistence lib that was'nt the good 1 to add
We must add Java JEE glassfish-v3 lib and then it will compile .
Thx anyway.. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|