Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

mapped-name is required for org.apache.cxf.jaxrs.interceptor.AttachmentInputInterceptor in deploymen

 
prasad kakani
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am facing issue in while deploying the war file contains CXF(2.6.0) feature in jboss server. But i am getting this error.

java.lang.RuntimeException: mapped-name is required for org.apache.cxf.jaxrs.interceptor.AttachmentInputInterceptor/supportedTypes of deployment RestService.war
at org.jboss.web.tomcat.service.injection.WebResourceHandler.loadXmlResourceEnvRefs(WebResourceHandler.java:287)
at org.jboss.web.tomcat.service.injection.WebResourceHandler.loadXml(WebResourceHandler.java:325)
at org.jboss.web.tomcat.service.TomcatInjectionContainer.processMetadata(TomcatInjectionContainer.java:564)
at org.jboss.web.tomcat.service.WebCtxLoader.start(WebCtxLoader.java:158)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4272)
at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:312)
at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:144)

Help would be greatly appreciated.

Many Thanks.
 
prasad kakani
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Resolved this issue when we copy annotations-api-6.0.18.jar and slf4j-api-1.6.0.jar is placed into project/WEB_INF/lib/ .. Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic