Unable to deploy first enterprise application EJB 3.0
posted 5 years ago
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.
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.