I'm trying to deploy a web-service in weblogic and I get the following errors:
weblogic.management.DeploymentException: com.sun.xml.ws.transport.http.servlet.WSServletException: WSSERVLET11: Fallo al analizar el descriptor en tiempo de ejecución: com.sun.xml.ws.util.ServiceConfigurationError: com.sun.xml.ws.spi.db.DatabindingProvider: Provider weblogic.wsee.databinding.internal.wlsjaxrpc.JaxRpcProvider is specified in jar:file:/C:/Oracle/Middleware/Oracle_Home/oracle_common/modules/com.oracle.webservices.wls.wls-ws-metainf-services-impl_12.1.3.jar!/META-INF/services/com.sun.xml.ws.spi.db.DatabindingProviderbut could not be instantiated: java.lang.ClassCastException: Cannot cast weblogic.wsee.databinding.internal.wlsjaxrpc.JaxRpcProvider to com.sun.xml.ws.spi.db.DatabindingProvider
com.sun.xml.ws.transport.http.servlet.WSServletException: WSSERVLET11: Fallo al analizar el descriptor en tiempo de ejecución: com.sun.xml.ws.util.ServiceConfigurationError: com.sun.xml.ws.spi.db.DatabindingProvider: Provider weblogic.wsee.databinding.internal.wlsjaxrpc.JaxRpcProvider is specified in jar:file:/C:/Oracle/Middleware/Oracle_Home/oracle_common/modules/com.oracle.webservices.wls.wls-ws-metainf-services-impl_12.1.3.jar!/META-INF/services/com.sun.xml.ws.spi.db.DatabindingProviderbut could not be instantiated: java.lang.ClassCastException: Cannot cast weblogic.wsee.databinding.internal.wlsjaxrpc.JaxRpcProvider to com.sun.xml.ws.spi.db.DatabindingProvider
What am I doing wrong? I used jaxws-rt for my webservice java web-services weblogic
You have a problem of clashing classes, the ones you ship in your deployment and the ones provided by WebLogic, as the error message is telling you:
Cannot cast weblogic.wsee.databinding.internal.wlsjaxrpc.JaxRpcProvider to com.sun.xml.ws.spi.db.DatabindingProvider
Set a filter in your web.xml
to tell your application to prefer its own resources .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.