当前位置: 技术问答>java相关
resin 下的oracle.jdbc.driver 如何配置配置
来源: 互联网 发布时间:2017-04-05
本文导语: package sunpu; import java.sql.*; import java.io.*; import java.util.*; import sunpu.*; import sunpu.DBConnectionManager; import javax.servlet.*; import javax.servlet.http.*; import oracle.jdbc.driver.*; public class name{} 错误提示: Note: sun.tools.javac.Main ha...
package sunpu;
import java.sql.*;
import java.io.*;
import java.util.*;
import sunpu.*;
import sunpu.DBConnectionManager;
import javax.servlet.*;
import javax.servlet.http.*;
import oracle.jdbc.driver.*;
public class name{}
错误提示:
Note: sun.tools.javac.Main has been deprecated.
E:resin-2.1.6docWEB-INFclassessunpuDbBean.java:9: Package oracle.jdbc.driver
not found in import.
import oracle.jdbc.driver.*;
^
1 error, 1 warning
import java.sql.*;
import java.io.*;
import java.util.*;
import sunpu.*;
import sunpu.DBConnectionManager;
import javax.servlet.*;
import javax.servlet.http.*;
import oracle.jdbc.driver.*;
public class name{}
错误提示:
Note: sun.tools.javac.Main has been deprecated.
E:resin-2.1.6docWEB-INFclassessunpuDbBean.java:9: Package oracle.jdbc.driver
not found in import.
import oracle.jdbc.driver.*;
^
1 error, 1 warning
|
如果是在编译的时候出现的错误,则在classpath中设置好oracle的库就行了。