Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Java
»
EJB and other Java EE Technologies
Author
@Entity not resolved
Parameswaran Thangavel
Ranch Hand
Joined: Mar 01, 2005
Posts: 485
posted
Sep 07, 2006 01:08:00
0
hi all
i am writing a sample
EJB
3.0 application.
when i tried declaring @Entity, i am getting compiler error saying @Entity not resolved.
even i am not able to import the below package.
import javax.persistence.*;
But i checked that the jre 1.5 is in build path of eclipse editor.
Is there any other files required to build the application based on EJB 3.0
The version of jdk i am using is "jdk1.5.0_08"
[ September 07, 2006: Message edited by: Parameswaran Thangavel ]
Mark Spritzler
ranger
Sheriff
Joined: Feb 05, 2001
Posts: 17233
1
I like...
posted
Sep 07, 2006 07:48:00
0
jre 1.5 is the Java Runtime for J2SE. The jre is for runtime not development. You should also have the 5.0 JDK and the Java EE 5 SDK. So you still need the ejb3 jar files in your classpath.
Mark
Perfect World Programming, LLC
-
Two Laptop Bag
-
Tube Organizer
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: @Entity not resolved
Similar Threads
How to call ENtity Bean from Message driven bean
entity only or entity bean?
FREE BETA: SCBCD 5.0 Beta Certification Exam
Hibernate vs EJB 3.0
Can EJB 3.0 be used with Jetty?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter