Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我应该使用哪个 jar 文件来导入以下内容?
import org.hibernate.validator.MessageInterpolator; import org.hibernate.validator.Validator;
这些类包含在:
hibernate-annotations-3.x.x.x.jar hibernate-validator-3.x.x.x.jar
您需要选择与您的休眠版本匹配的版本。