• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Unable to deploy first enterprise application EJB 3.0

 
Ranch Hand
Posts: 763
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Evildoers! Eat my justice! And this tiny ad's justice too!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic