A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB and other Java EE Technologies
@Entity not resolved
Joined: Mar 01, 2005
Sep 07, 2006 01:08:00
i am writing a sample
when i tried declaring @Entity, i am getting compiler error saying @Entity not resolved.
even i am not able to import the below package.
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 ]
Joined: Feb 05, 2001
Sep 07, 2006 07:48:00
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.
Perfect World Programming, LLC
Two Laptop Bag
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: @Entity not resolved
Hibernate vs EJB 3.0
FREE BETA: SCBCD 5.0 Beta Certification Exam
How to call ENtity Bean from Message driven bean
entity only or entity bean?
Can EJB 3.0 be used with Jetty?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014