File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Unable to deploy first enterprise application EJB 3.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Unable to deploy first enterprise application EJB 3.0" Watch "Unable to deploy first enterprise application EJB 3.0" New topic
Author

Unable to deploy first enterprise application EJB 3.0

Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 755
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


 
jQuery in Action, 2nd edition
 
subject: Unable to deploy first enterprise application EJB 3.0