1 Reply Latest reply: Feb 22, 2012 12:12 AM by SyedAsif RSS

    IMPORTING ERROR : java.lang.ClassNotFoundException: javax.xml.rpc.Service

    SyedAsif
      Hello,

      Iam getting the serious issue while inserting records into the Account.
      I am using Tomcat 7.0 with the Eclipse and have downloaded the wsdl 1.
      While running the Program i got the error mentioned.

      SEVERE: Allocate exception for servlet crmod.CRMOD
      java.lang.ClassNotFoundException: javax.xml.rpc.Service

      Please help mee out.



      Code is mentioned here.

      WEB.XML

      <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0">
      <display-name>Test_Insert</display-name>
      <welcome-file-list>
      <welcome-file>index.html</welcome-file>
      <welcome-file>index.htm</welcome-file>
      <welcome-file>index.jsp</welcome-file>
      <welcome-file>default.html</welcome-file>
      <welcome-file>default.htm</welcome-file>
      <welcome-file>default.jsp</welcome-file>
      </welcome-file-list>
      <servlet>
                <servlet-name>CRMOD</servlet-name>
                <servlet-class>CRMOD</servlet-class>
      </servlet>
      <servlet-mapping>
                <servlet-name>CRMOD</servlet-name>
                <url-pattern>/CRMOD</url-pattern>
           </servlet-mapping>
      </web-app>