java 在哪里可以找到 javax.validation.* 的实现?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/4961920/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-30 08:48:34  来源:igfitidea点击:

Where can I find an implementation of javax.validation.*?

javavalidationjarimplementation

提问by Riley Lark

I've just included a new library in my project and it's dependent on some classes in javax.validation - which I can't find an implementation of. Is there a free implementation available that can be licensed for commercial, closed-source use?

我刚刚在我的项目中包含了一个新库,它依赖于 javax.validation 中的一些类 - 我找不到它的实现。是否有免费的实现可以被许可用于商业、闭源使用?

回答by limc

Take a look at Hibernate Validator 4, it's an implementation of JSR 303 and uses javax.validation too.

看看Hibernate Validator 4,它是 JSR 303 的实现,也使用 javax.validation 。

Some examples:-

一些例子:-