This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Spring and the fly likes Cannot find class [org.springmodules.validation.bean.conf.loader.annotation.AnnotationBeanValidation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Cannot find class [org.springmodules.validation.bean.conf.loader.annotation.AnnotationBeanValidation" Watch "Cannot find class [org.springmodules.validation.bean.conf.loader.annotation.AnnotationBeanValidation" New topic
Author

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

albert kao
Ranch Hand

Joined: Feb 04, 2010
Posts: 245
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)
 
jQuery in Action, 2nd edition
 
subject: Cannot find class [org.springmodules.validation.bean.conf.loader.annotation.AnnotationBeanValidation
 
Similar Threads
Failed to read schema document 'http://www.springframework.org/schema/beans/spring-beans-2.5.xsd',
How dispatcher-servlet.xml works
Cannot resolve reference to bean 'flowExecutor' while setting bean property 'flowExecutor'
XML name space error in Spring data JPA hibernate applicationContext.xml
No http://www.springmodules.org/validation/bean/validator