Back Forum Reply New

java.lang.NoClassDefFoundError: org/springframework/core/GenericsHelper

Hello :

I am trying to integrating Spring 2.5 with Hibernate 3.2 following all instructions from the oficial  site.

But... when my Value Object is declared with Generic Types, the console show me the following exception:

Caused by: java.lang.NoClassDefFoundError: org//core/GenericsHelper
at org..beans.PropertyTypeConverter.co  nvertToTypedCollection(PropertyTypeConverter.java:  296)
at org..beans.PropertyTypeConverter.co  nvertIfNecessary(PropertyTypeConverter.java:186)
at org..beans.PropertyTypeConverter.co  nvertIfNecessary(PropertyTypeConverter.java:108)
at org..beans.BeanWrapperImpl.setPrope  rtyValue(BeanWrapperImpl.java:723)
at org..beans.BeanWrapperImpl.setPrope  rtyValue(BeanWrapperImpl.java:575)
at org..beans.AbstractPropertyAccessor  .setPropertyValue(AbstractPropertyAccessor.java:49  )
at org..beans.AbstractPropertyAccessor  .setPropertyValues(AbstractPropertyAccessor.java:6  8)
at org..beans.AbstractPropertyAccessor  .setPropertyValues(AbstractPropertyAccessor.java:5  7)
at org..beans.factory.support.Abstract  AutowireCapableBeanFactory.applyPropertyValues(Abs  tractAutowireCapableBeanFactory.java:792)
at org..beans.factory.support.Abstract  AutowireCapableBeanFactory.populateBean(AbstractAu  towireCapableBeanFactory.java:572)
at org..beans.factory.support.Abstract  AutowireCapableBeanFactory.createBean(AbstractAuto  wireCapableBeanFactory.java:415)
... 19 more

After, I just trying to verify that class exist in the spring2-5.jar. And i have no found that class.

What can I do? I want not to modify my java code to the simple java code (without generic type).

I wish your help Spring Memebers.

Reclardly. Neketsu shonen

Hello Every One:

I know what error i just did:

I am using spring-core 2.5 but with all package of Spring 2.1....=_=
¥
Back Forum Reply New