Scores help, plus enough points

Category: Java SE
 
tianhuqun2006
2008-12-22 01:56:46

Sponsored Links
Intellij I write some code, compile it prompts: cannot resolve symbol class OracleDriver. But I Javac directly on the command line compiler pass, consult experts, how to solve? Source code is as follows:
import java.sql.DriverManager;
public class MyCursor extends Cursor {
protected void RegsiterDriver () throws Exception {
DriverManager.registerDriver (new oracle.jdbc.driver.
; ; OracleDriver ());

}
}

Sponsored Links

shuangsiwang10
2008-12-22 02:16:16
you In Intellij join Oracle's class path can be,,

class12.zip/class12.jar;;

diaonimama520
2008-12-22 02:29:42
to find because you Intellij Less than JDBC driver
give him added to the path on the line
chenyun2010
2008-12-22 02:46:38
Intellij What is it? What development tools?

you put Oracle driver path is also added to it.
jiangjianling
2008-12-22 03:01:31
whether the packet contains the OracleDriver jar contains no come? See your classpath of the jar package has not included in the
Interllij. I have not used Interllij, I do not know whether it himself with a jdk.

gammazeta
2008-12-22 03:14:06
by!
phrase: DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver ());
changed: DriverManager.registerDriver (new oracle.jdbc.OracleDriver ());
try.
yxzhishou
2008-12-22 03:22:38
upstairs, I was the first to use Intellij, ask how to configure A

fact I have it added to the list, it may be added Debu correct line waiting
lhl00077
2008-12-22 03:25:26
I use jbuilder it is the need to put into the jar package in selected jdk,
not know Intellij is almost, but can be run from the command line, then it shows program is not the problem,
they still check Intellij configuration.
I'm downloading Intellij, see if you can help.
Domain and server ip had changed since 8/23/2013. Suspend the user registration and posts for program maintenance.