• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Add/remove in eclipse create problems during Wildfly startup.

Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have a maven web project.

If I deploy the ear using the maven install command I have no problem.
It deploy the .ear in the deployments directory and the application work as expected.

If I use the add/remove button in eclipse I get this error during the server startup.

Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'AB' defined in ServletContext resource [/WEB-INF/spring-dispatcher-servlet.xml]: Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: acmeServicesEJB/AB!jadf.openframework.cloud.acme.services.ejb.interfaces.IAB -- service jboss.naming.context.java.app."acme-0.0.1-acme".acmeServicesEJB."AccountBean!jadf.openframework.cloud.acme.services.ejb.interfaces.IAB"

What does it means? Can you help me please?
Davide Perini
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I get the problem.

When I deploy using maven it deploys the various module using the


if I run the maven install command the module is built using the BOsEJB name.

If I install using the eclipse add/remove function it built the module using the groupId+versionId name.

this creates problem with the name I defined in the spring-dispatcher-sservlet.xml

how can I tell eclipse to build modules with the finalName specified in the pom.xml instead of using the groupId+versionId of the module?
Ew. You guys are ugly with a capital UG. Here, maybe this tiny ad can help:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic