Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

@Entity not resolved

 
Parameswaran Thangavel
Ranch Hand
Posts: 485
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic