new parara release 4.1.2.173 does not recognize the entity constrain class..

35 views
Skip to first unread message

Christian Salazar

unread,
Aug 24, 2017, 9:27:01 AM8/24/17
to Payara Forum
I have downloaded the new Payara Server release 4.1.2.173 and I'm having an issue with my Entity class contrains. import javax.validation.constraints.*. it does not recognize this package. doesn't the new release have this? did the new release change the name of the package? 
please advise... 

Christoph John

unread,
Aug 24, 2017, 9:42:54 AM8/24/17
to Payara Forum

Ulrich Mayring

unread,
Aug 28, 2017, 11:45:46 AM8/28/17
to Payara Forum
I don't have any problems with Netbeans (not sure what "update netbeans library definition" means), but since 173 I am getting occasional messages like this in the log:

[2017-08-28T17:21:10.733+0200] [Payara 4.1] [SEVERE] [] [] [tid: _ThreadID=54 _ThreadName=hz._hzInstance_1_dev.event-3] [timeMillis: 1503933670733] [levelValue: 1000] [[
  No valid EE environment for injection of org.hibernate.validator.internal.cdi.InjectingConstraintValidatorFactory]]

Ulrich

Christian Salazar

unread,
Oct 9, 2017, 4:14:57 PM10/9/17
to Payara Forum
I have figured out a workaround this issue. Copy the jar file and rename it in the same folder to what it used to be. I copied validator-api.jar and renamed it bean-validator.jar. I restarted my netbeans and it worked. 
Reply all
Reply to author
Forward
0 new messages