| Author |
Unable to deploy first enterprise application EJB 3.0
|
Jigar Naik
Ranch Hand
Joined: Dec 12, 2006
Posts: 744
|
|
Hi,
I have created one Simple Enterprise application in EJB 3.0.
The application contains one JPA Project named domain which has only one entity User which is mapped to database table USER using JPA annotations. The domain project contains persistence.xml in domain.jar/src/META-INF/ directory.
persistence.xml
And another is Dynamic Web Module which i have created from Eclipse. the web module contains only one index.xml file which is mapped in welcome-file tag of the web.xml no servlet is there in the web module.
both the projects are added to the UserWebEAR project.
and the content of the UserWebEAR/EarContent/META-INF/application.xml is as below.
but when i publish the application i am getting below error message.
Can anybody help me out in solving this issue. I am not able to understand why its giving ClassNotFoundEx for User class.
|
Jigar Naik
|
 |
 |
|
|
subject: Unable to deploy first enterprise application EJB 3.0
|
|
|