PersistenceContext import not recognised

Hi all

I am using JDeveloper to create a stateful session bean. I am trying to use the PersistenceContext annotation but the import statement is not recognised. I have tried:

import javax.persistence.PersistenceContext

and

import javax.persistence.*

but neither are found. It's weird because the import statement for EntityManager is found. Has anyone else come across this? Am I doing something wrong? I am using JDeveloper version 10.1.3 and jdk 1.5.

Any help appreciated.

Thanks,

Paul

[609 byte] By [pbarrett1979a] at [2007-10-3 4:57:53]
# 1
Solved - needed to import the lib/javaee.jar file from within the jdeveloper installation, otherwise the Java EE implementation is incomplete, apparently. Now comiles no trouble, and only took me 6 hours of solid googling ;-)Thanks if you took the time to look.
pbarrett1979a at 2007-7-14 23:03:14 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...