2010-07-07 40 views
1

我是Spring的新手,並且遇到JSR303驗證問題。該問題似乎與spring-servlet.xml中的<mvc:annotation-driven/>標籤有關。Spring + App Engine + JSR303

當我包含這個標籤時,在啓動開發服務器時出現以下錯誤。

SEVERE: Context initialization failed 
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.validation.beanvalidation.LocalValidatorFactoryBean#0': Invocation of init method failed; nested exception is javax.validation.ValidationException: Unable to find a default provider 

我不知道如何解釋此消息。我正在使用validation-api-1.0.0.GA.jar,它位於WEB-INF/lib目錄和我的eclipse構建路徑中。

任何想法?

回答