Scores help, plus enough points

Category: Java SE
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

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

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

you put Oracle driver path is also added to it.
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.

2008-12-22 03:14:06
phrase: DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver ());
changed: DriverManager.registerDriver (new oracle.jdbc.OracleDriver ());
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
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.