• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Cannot find class [org.springmodules.validation.bean.conf.loader.annotation.AnnotationBeanValidation

 
Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I want to use Spring Modules 0.9 and followed the article http://wheelersoftware.com/articles/spring-bean-validation-framework.html.
I use Eclipse, New Project, Plug-in Development, Plug-in from Existing JAR Archives, an OSGi framework (Equinox), unselect "Unzip the JAR archives into the project" to create a new Plug-in SpringJar for the spring-modules-validation.jar.
Then I modify the Java Build Path of another project to use the spring-modules-validation.jar.
Please help to solve the following error.
servlet.xml


Error appear on the Eclipse console:
12:15:55,984 ERROR org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext:152 - Refresh error
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.springmodules.validation.bean.conf.loader.annotation.AnnotationBeanValidationConfigurationLoader] for bean with name 'configurationLoader' defined in URL [bundleentry://8.fwk13665843/WEB-INF/App-servlet.xml]; nested exception is java.lang.ClassNotFoundException: org.springmodules.validation.bean.conf.loader.annotation.AnnotationBeanValidationConfigurationLoader not found from bundle [com.comp.hw.war]
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1141)
 
He puts the "turd" in "saturday". Speaking of which, have you smelled this tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic