[
https://issues.apache.org/jira/browse/CXF-6706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15054337#comment-15054337
]
ASF GitHub Bot commented on CXF-6706:
-------------------------------------
GitHub user benson-basis opened a pull request:
https://github.com/apache/cxf/pull/102
CXF-6706 hibernate help
I'm hoping to get some collaborative attention via this PR, as to why the
test I added (and @Ignored) fails so spectacularly.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/benson-basis/cxf cxf-6706-hibernate-help
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cxf/pull/102.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #102
----
commit dccd12eb381d7403a09eb895aea36eaef604296d
Author: Benson Margulies <[email protected]>
Date: 2015-12-11T21:06:17Z
try to add the helper to CXF.
commit f20f255406152ca563fbce717d0118a02bff6d58
Author: Benson Margulies <[email protected]>
Date: 2015-12-11T23:38:08Z
Ignore the test.
----
> Bean validation seems to not be working in OSGi
> -----------------------------------------------
>
> Key: CXF-6706
> URL: https://issues.apache.org/jira/browse/CXF-6706
> Project: CXF
> Issue Type: Bug
> Affects Versions: 3.1.4, 3.2.0
> Reporter: Benson Margulies
> Assignee: Benson Margulies
>
> Using Karaf 4.0.2,
> if you take this repo:
> [email protected]:benson-basis/cxf-karaf-validation-tc.git
> and checkout the use-cxf-support branch, it will build you a Karaf assembly
> that, when you poke the service (http://localhost:8181/cxf/validate)
> will yield the following backtrace. This assumes that you are up to date with
> my fix to cxf-6705 which is on master and the 3.1.x branch.
> {noformat}
> javax.validation.ValidationException: Unable to find a default provider
> at
> javax.validation.Validation$GenericBootstrapImpl.configure(Validation.java:264)
> at
> javax.validation.Validation.buildDefaultValidatorFactory(Validation.java:111)
> at
> org.apache.cxf.validation.BeanValidationProvider.<init>(BeanValidationProvider.java:45)
> at com.basistech.ts.impl.TrivialService.validate(TrivialService.java:50)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)