-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Validator fails to find 'javax.el.ExpressionFactory'
PostPosted: Wed May 31, 2017 1:07 pm 
Regular
Regular

Joined: Mon Aug 07, 2006 6:22 pm
Posts: 67
For background and more details, I also posted this question at https://stackoverflow.com/questions/442 ... ialize-jav .

I'm trying to use hibernate-validator in an API gateway that is built with Maven. I'm trying to run my skeleton unit test, but it's failing with this:
Code:
javax.validation.ValidationException: HV000183: Unable to load 'javax.el.ExpressionFactory'. Check that you have the EL dependencies on the classpath, or use ParameterMessageInterpolator instead


I've verified that I have version "3.0.1-b08" of the Glassfish javax.el artifact, without the "api" variant. I've inspected the "mvn dependency:tree" output to verify this. I've inspected the jar file of that artifact to verify that it has the class in question. I've run the unit test with "-verbose:class", but I didn't see any obvious clues from that output, except for the fact that it never tries to load anything from that artifact.

I don't know how to move forward.


Top
 Profile  
 
 Post subject: Re: Validator fails to find 'javax.el.ExpressionFactory'
PostPosted: Wed May 31, 2017 4:07 pm 
Regular
Regular

Joined: Mon Aug 07, 2006 6:22 pm
Posts: 67
Never mind. I've resolved this. The solution suggested in the SO posting was correct, but I didn't notice that somehow my "javax.el" artifact in my local cache was corrupted. I simply deleted the artifact directory and rebuilt, and it worked fine.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.