|
Hello, I’ve been having problems loading services with Hive Mind
1.1-alpha 1 here is the error I’m getting org.apache.hivemind.ApplicationRuntimeException: Service
etranscor.portal.RequestFactory does not implement the requested interface
(com.etranscor.portal.services.container.ContainerRequestFactory). The
declared service interface type is com.etranscor.portal.services.container.ContainerRequestFactory and here is my configuration <?xml version="1.0"
encoding="UTF-8"?> <module id="etranscor.portal"
version="1.0.0"> <service-point
id="RequestFactory"
interface="com.etranscor.portal.services.container.ContainerRequestFactory"> <invoke-factory
service-id="hivemind.BuilderFactory">
<construct
class="com.etranscor.portal.services.container.impl.ContainerRequestFactoryImpl"
log-property="logger">
<set property="containerRequest" value="com.etranscor.portal.services.container.impl.ContainerRequestImpl"/>
</construct>
</invoke-factory> </service-point> </module> It seems to find it but when it does the isAssignable in org.apache.hivemind.impl.ServicePointImpl.getService
it blows up. I added a print statement to see what it is comparing and
here was the result. ServiceInterface: interface
com.etranscor.portal.services.container.ContainerRequestFactory, Result
Object: <SingletonProxy for
etranscor.portal.RequestFactory(com.etranscor.portal.services.container.ContainerRequestFactory)> Am I doing something wrong, I’m having this same error
in a couple of other projects too. TIA, -kurt |
- Re: Problem with loading services Kurt R. Hoehn
- Re: Problem with loading services Knut Wannheden
- RE: Problem with loading services Kurt R. Hoehn
