Gemini Blueprint: NoClassDefFoundError [message #1009803] |
Fri, 15 February 2013 18:52 |
eis - Messages: 16 Registered: September 2012 |
Junior Member |
|
|
Hi,
I'm getting this
20:30:28,871 ERROR [org.springframework.web.servlet.DispatcherServlet] (ServerSe
rvice Thread Pool -- 852) Context initialization failed: org.springframework.bea
ns.factory.BeanCreationException: Error creating bean with name 'manageclinicres
tcontroller' defined in OSGi resource[classpath:/rest-web-config.xml|bnd.id=52|b
nd.sym=manageclinic-web]: Cannot create inner bean '(inner bean)' of type [org.s
pringframework.beans.factory.config.BeanReferenceFactoryBean] while setting cons
tructor argument; nested exception is org.springframework.beans.factory.BeanCrea
tionException: Error creating bean with name '.org.eclipse.gemini.blueprint.serv
ice.importer.support.OsgiServiceProxyFactoryBean#0': FactoryBean threw exception
on object creation; nested exception is java.lang.NoClassDefFoundError: Could n
ot initialize class $Proxy35
and before that
WARN [org.springframework.beans.factory.support.DefaultListableBeanFactory] (ServerService Thread Pool -- 950) FactoryBean threw exception from getObjectType, despite the contract saying that it should return null if the type of its object cannot be determined yet: java.lang.NoClassDefFoundError: Could not initialize class $Proxy35
with no idea how to debug. Everything should be in order. The bean in question
<bean id="manageclinicrestcontroller"
class="...mypath.ManageClinicRestController">
<argument>
<reference interface="...mypath.ManageClinicService"
availability="mandatory"></reference>
</argument>
</bean>
and with that service bundle, there is
<service ref="manageclinicservice" interface="...mypath.ManageClinicService"
depends-on="manageclinicservicebean">
</service>
any ideas, from where I could start debugging this. Is the problem on which end, on the service or the web layer? Or somewhere else?
Using JBoss AS7 + Gemini BP 1.0.2. Simple, similar other scenarios work with this setup.
[Updated on: Fri, 15 February 2013 19:00] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03839 seconds