How can I disable javax.validation.api in JBoss 6.4

后端 未结 3 2038
轮回少年
轮回少年 2020-12-06 20:43

Similar questions:

How to use bean validation 1.1 in JBoss EAP 6.4.0?

How to change bean-validation version on jboss EAP 6.3?

Can you use bean valida

3条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-06 21:19

    For jboss 6.2 i want to use cxf and bean validation 1.1, the previous answer didnt work for me, to make it work first i had to exclude all the dependencies then add again the javee.api excluding the imports to the javax packages like this:

    
                
                
                
                
                
    
    
            
            
                
                    
                        
                            
                            
                            
                            
                            
                            
                            
                            
                            
                        
                    
                
    
            
    

    Then repeat on the subdeployments of my ear.

提交回复
热议问题