你平时怎么连数据库就还怎么连,这和WEBSERVICE没有什么关系

解决方案 »

  1.   

    e:\www\WEB-INF\jwsClasses\DataTest.java:24: Exception java.lang.ClassNotFoundException must be caught, or it must be declared in the throws clause of this method.
    Class.forName(mysqlDriver).newInstance();
                 ^Line 24, column 41:  Exception java.lang.InstantiationException must be caught, or it must be declared in the throws clause of this method.
    Line 24, column 41:  Exception java.lang.IllegalAccessException must be caught, or it must be declared in the throws clause of this method.
    Line 25, column 46:  Exception java.sql.SQLException must be caught, or it must be declared in the throws clause of this method.
    Line 32, column 3:  Exception java.rmi.RemoteException must be caught, or it must be declared in the throws clause of this method.
    Line 0, column 0: 
    5 errors, 1 warning老大们这个错误怎么解决
      

  2.   

    这个是你的classpath有问题,没有找到类
      

  3.   

    没有找到mysqlDriver,这和WEBSERVICE无关的