Download javax.persistence from Sun and add to your local repo. Or add
a dependency on an appropriate EJB3 spec jar from another source ie
Hibernate and add to your local repo.

The POM here seems to suggest that Hibernate Annotations should
fulfill your need:
http://www.ibiblio.org/maven2/javax/persistence/ejb/3.0-public_review/ejb-3.0-public_review.pom

Here's the direct link to download:
http://prdownloads.sourceforge.net/hibernate/hibernate-annotations-3.1beta5.tar.gz?download

Wayne


On 24 Feb 2006 16:28:28 UT, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Dear Maveners,
>
>
> I am using Maven to build my ejb3 project, in the past I used Ant to build 
> and deploy the project and it was working fine, but when I switch to Maven 
> and I added the needed dependency but one dependency missing 
> "javax.persistence" and it does not exit in any repository, so the below 
> error appears, Any thought about this problem please
>
> C:\Stephani\workspace\Stephenie\src\java\steph\ejb\ManagerImpl.java:[10,25] 
> package javax.persistence does not exist
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to