Deploying a Jersey webapp on Jboss AS 7

后端 未结 11 1158
既然无缘
既然无缘 2020-12-01 06:13

Currently running some webapps on Jboss AS 4/5 and I am testing migration to jboss7. When I try to deploy a jersey based webapp on JBoss AS 7 (full profile with standalone-p

11条回答
  •  抹茶落季
    2020-12-01 07:02

    In web.xml file add the files
    
            
                resteasy.scan
                false
            
            
                resteasy.scan.providers
                false
            
            
                resteasy.scan.resources
                false
            
    
     and comment out the init-param
            
    
    This worked out for me in jboss-as-7.1.1.Final and i did not do any changes in standalone.xml.
    

提交回复
热议问题