I have my Spring project, say SpringMVCExample and also system-core, where I have EJB bean PlaceService. Simple question:
how can I make this bean accessible in SpringMVCExample? In my SpringMVCExample build path looks like:
and system-core
Also, in SpringMVCExample inside servlet-context.xml there is
<jee:jndi-lookup id="PlaceServiceLocal" jndi-name="ejb:/system_core//PlaceService!com.example.servicesLocal.PlaceServiceLocal" />
Unfortunately, I am not able to use this bean because of the following error:
ERROR: org.springframework.web.servlet.DispatcherServlet - Context initialization failedorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0': Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: com/example/servicesLocal/PlaceServiceLocal
Any thoughts? Regards
Aucun commentaire:
Enregistrer un commentaire