Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Gemini » Gemini Blueprint: NoClassDefFoundError
Gemini Blueprint: NoClassDefFoundError [message #1009803] Fri, 15 February 2013 18:52 Go to next message
eis - is currently offline eis -Friend
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

Re: Gemini Blueprint: NoClassDefFoundError [message #1010873 is a reply to message #1009803] Mon, 18 February 2013 11:33 Go to previous message
Glyn Normington is currently offline Glyn NormingtonFriend
Messages: 1222
Registered: July 2009
Senior Member
Please note the web support from Spring DM was removed when Spring DM was contributed to become Gemini Blueprint. The recommended replacement is Gemini Web. If you want to use Gemini Web in combination with Spring, I recommend Virgo.
Previous Topic:Best way to use Gemini JPA in Eclipse e4 RCP application
Next Topic:Gemini DBAccess 1.1.0 Release
Goto Forum:
  


Current Time: Mon Oct 07 21:44:19 GMT 2024

Powered by FUDForum. Page generated in 0.03839 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top