在WebLogic中部署时出现此错误。如何解决此问题?
例外: 部署失败。消息是:weblogic.management.DeploymentException:com.sun.xml.ws.transport.http.servlet.WSServletException:WSSERVLET11:无法解析运行时描述符:java.lang.NullPointerException 该模块尚未部署。 有关详细信息,请参阅服 at or or or or or or or or or or or at or or or or or or or or or or or or or or at or or or or or or or or or or or or at or or or or or or or or or or or or 在org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
weblogic.xml中
<?xml version="1.0" encoding="UTF-8"?>
<weblogic-web-app xmlns="http://xmlns.oracle.com/weblogic/weblogic-web-app" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd http://xmlns.oracle.com/weblogic/weblogic-web-app http://xmlns.oracle.com/weblogic/weblogic-web-app/1.0/weblogic-web-app.xsd">
<jsp-descriptor>
<keepgenerated>true</keepgenerated>
<debug>true</debug>
</jsp-descriptor>
<context-root>/TestProject</context-root>
</weblogic-web-app>
太阳jaxws.xml
<?xml version="1.0" encoding="UTF-8"?>
<endpoints version="2.0" xmlns="http://java.sun.com/xml/ns/jax-ws/ri/runtime">
<endpoint name="EftGidenServices" implementation="com.yaz.yazproject.eft.services.EftGidenServices" url-pattern="/EftGidenServices"/>
<endpoint name="EhacizServices" implementation="com.yaz.yazproject.ehaciz.services.EhacizServices" url-pattern="/EhacizServices"/>
<endpoint name="CekService" implementation="com.yaz.yazproject.cek.services.CekService" url-pattern="/CekService"/>
</endpoints>
的web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
<listener>
<listener-class>com.sun.xml.ws.transport.http.servlet.WSServletContextListener</listener-class>
</listener>
<servlet>
<servlet-name>EftGidenServices</servlet-name>
<servlet-class>com.sun.xml.ws.transport.http.servlet.WSServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>EhacizServices</servlet-name>
<servlet-class>com.sun.xml.ws.transport.http.servlet.WSServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>CekService</servlet-name>
<servlet-class>com.sun.xml.ws.transport.http.servlet.WSServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>EftGidenServices</servlet-name>
<url-pattern>/EftGidenServices</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>EhacizServices</servlet-name>
<url-pattern>/EhacizServices</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>CekService</servlet-name>
<url-pattern>/CekService</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
</web-app>