File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes mapped-name is required for org.apache.cxf.jaxrs.interceptor.AttachmentInputInterceptor in deploymen Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "mapped-name is required for org.apache.cxf.jaxrs.interceptor.AttachmentInputInterceptor in deploymen" Watch "mapped-name is required for org.apache.cxf.jaxrs.interceptor.AttachmentInputInterceptor in deploymen" New topic
Author

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

prasad kakani
Ranch Hand

Joined: Jul 15, 2008
Posts: 59
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

Joined: Jul 15, 2008
Posts: 59
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: mapped-name is required for org.apache.cxf.jaxrs.interceptor.AttachmentInputInterceptor in deploymen
 
Similar Threads
ERROR [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (HDScanner) ENC setup failed
JavaScript error in JSP
DI ejb into JSF bean, JBoss 6
java.lang.RuntimeException: mapped-name is required for jdbc
problems on getting access to an java bean class from a servlet