• 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 ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Himai Minh

Import Netbeans Maven Enterprise Project in Eclipse

Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

we have a Netbeans Maven Project that I want to use in Eclipse. The project contains 2 Web Projects and a EJB Project. When I deploy that application to glassfish I see a single Application in the glassfish admin view. I tried the following steps to import that project to Eclipse:

1. Convert each project to a eclipse project with "mvn eclipse:eclipse"
2. Import those projects as Maven Projects (m2eclipse) to Eclipse
3. I added the "Dynamic Web Project" and JSF Facet to the both Web Projects(Each of the web project has a reference to the EJB project)
4. I added the "EJB Project" Facet to the EJB Project
5. I added a Glassfish Server to the Server tab

With these settings I can add the 3 projects to the Glassfish server. But here comes the problem. When I try to publish/start the server each application will be deployed to glassfish as a single application. Also the publish process failed because some classes cannot be found. I think that occurs because the three projects Eclipse tries to deploy each project for itself and not as one application.

Could you please help me? I doesn´t know how I can get it work...
I've been selected to go to the moon! All thanks to this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
    Bookmark Topic Watch Topic
  • New Topic