Hello,

If you are still having problem getting your example to run, see this link 
http://www.javapassion.com/handsonlabs/javaee6_jpa2.0/#Exercise_0 but be sure 
to scroll down for example on how to solve the package not found error.

Please use Reply All option to reply to the list.

Good luck
Evans

> Date: Tue, 2 Feb 2010 12:32:29 -0800
> Subject: [java ee programming] cannot find javax.persistence package
> From: bell...@gmail.com
> To: java-ee-j2ee-programming-with-passion@googlegroups.com
> 
> Hello,
> I am working on bookstore1 example for Java EE Programming basics
> course from Java EE 5 tutorial Chapter 4.
> 
> When attempting to run bookstore1 project I am getting an error:
> package javax.persistence does not exist.
> 
> I downloaded Java EE and EJBs.
> 
> I was able to add Persistence library under project properties.  As a
> result, I can see in my project window in Libraries folder Persistence
> - ejb3-persistence.jar and Persistence - persistence-common.jar.
> 
> But I am still getting errors:
> package javax.persistence does not exist.
> 
> I am using NetBeans IDE 6.8
> 
> Can you please offer me some advice?  Why my project in JavaBeans
> cannot see the associatied persistence library?
> Thank you!
> Bella
> 
> __
> PS: I tried bookstore2 example too and had same problems.
> Bella
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "Java EE (J2EE) Programming with Passion!" group.
> To post to this group, send email to
> java-ee-j2ee-programming-with-passion@googlegroups.com
> To unsubscribe from this group, send email to
> java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en
                                          
_________________________________________________________________
Do you have a story that started on Hotmail? Tell us now
http://clk.atdmt.com/UKM/go/195013117/direct/01/

-- 
You received this message because you are subscribed to the Google
Groups "Java EE (J2EE) Programming with Passion!" group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

Reply via email to