Home > database >  Rookie help [] Eclipse oracle12C connections are not
Rookie help [] Eclipse oracle12C connections are not

Time:09-26

Starting with The error: Java. SQL. SQLException: The Network Adapter could not establish The connection


Now is this:
Java. SQL. SQLException: ORA - 01017: the username/password is invalid; Login denied

At oracle, the JDBC driver. SQLStateMapping. NewSQLException (SQLStateMapping. Java: 70)
At oracle, the JDBC driver. DatabaseError. NewSQLException (DatabaseError. Java: 133)
At oracle, the JDBC driver. DatabaseError. ThrowSqlException (DatabaseError. Java: 206)
At oracle, the JDBC driver. T4CTTIoer. ProcessError (T4CTTIoer. Java: 455)
At oracle, the JDBC driver. T4CTTIoer. ProcessError (T4CTTIoer. Java: 406)
At oracle, the JDBC driver. T4CTTIoer. ProcessError (T4CTTIoer. Java: 399)
At oracle, the JDBC driver. T4CTTIoauthenticate. ReceiveOauth (T4CTTIoauthenticate. Java: 799)
At oracle, the JDBC driver. T4CConnection. Logon (T4CConnection. Java: 368)
At oracle, the JDBC driver. PhysicalConnection. & lt; init> (PhysicalConnection. Java: 508)
At oracle, the JDBC driver. T4CConnection. & lt; init> (T4CConnection. Java: 203)
At oracle, the JDBC driver. T4CDriverExtension. GetConnection (T4CDriverExtension. Java: 33)
At oracle, the JDBC driver. OracleDriver. Connect (OracleDriver. Java: 510)
The at Java. SQL. DriverManager. GetConnection (DriverManager. Java: 579)
The at Java. SQL. DriverManager. GetConnection (DriverManager. Java: 221)
At com. BXP. JDBC. JdbcStatementInsertTest1. InsertEmp (28) JdbcStatementInsertTest1. Java:
At sun. Reflect. NativeMethodAccessorImpl. Invoke0 (Native Method)
At sun. Reflect. NativeMethodAccessorImpl. Invoke (NativeMethodAccessorImpl. Java: 57)
At sun. Reflect. DelegatingMethodAccessorImpl. Invoke (43) DelegatingMethodAccessorImpl. Java:
The at Java. Lang. Reflect. Method. Invoke (601) Method. The Java:
The at org. Junit. Runners. Model. FrameworkMethod $1. RunReflectiveCall (FrameworkMethod. Java: 50)
The at org. Junit. Internal. Runners. Model. ReflectiveCallable. Run (ReflectiveCallable. Java: 12)
The at org. Junit. Runners. Model. FrameworkMethod. InvokeExplosively (FrameworkMethod. Java: 47)
The at org. Junit. Internal. Runners. Statements. InvokeMethod. Evaluate (InvokeMethod. Java: 17)
The at org. Junit. Runners. ParentRunner. RunLeaf (ParentRunner. Java: 325)
The at org. Junit. Runners. BlockJUnit4ClassRunner. RunChild (BlockJUnit4ClassRunner. Java: 78)
The at org. Junit. Runners. BlockJUnit4ClassRunner. RunChild (BlockJUnit4ClassRunner. Java: 57)
The at org. Junit. Runners. ParentRunner $3. The run (ParentRunner. Java: 290)
The at org. Junit. Runners. ParentRunner $1. The schedule (ParentRunner. Java: 71)
The at org. Junit. Runners. ParentRunner. RunChildren (ParentRunner. Java: 288)
The at org. Junit. Runners. ParentRunner. Access the $000 (ParentRunner. Java: 58)
At org. Junit. Runners. ParentRunner $2. The evaluate (ParentRunner. Java: 268)
The at org. Junit. Runners. ParentRunner. Run (ParentRunner. Java: 363)
At org. Eclipse JDT. Internal. Takeup. Runner. JUnit4TestReference. Run (86) JUnit4TestReference. Java:
At org. Eclipse JDT. Internal. Junit. Runner. TestExecution. Run (TestExecution. Java: 38)
At org. Eclipse JDT. Internal. Junit. Runner. RemoteTestRunner. RunTests (RemoteTestRunner. Java: 459)
At org. Eclipse JDT. Internal. Junit. Runner. RemoteTestRunner. RunTests (RemoteTestRunner. Java: 675)
At org. Eclipse JDT. Internal. Junit. Runner. RemoteTestRunner. Run (382) RemoteTestRunner. Java:
At org. Eclipse JDT. Internal. Junit. Runner. RemoteTestRunner. Main (192) RemoteTestRunner. Java:


PS: closed, firewall configuration file changed, also confirm the monitoring, up sqlplus and PLSQL can login (system is win10, Oracle12C)

CodePudding user response:

ORA - 01017: the username/password is invalid; Login denied,


Prompt you for a long time, the user name or password is wrong,

CodePudding user response:

Problems are already clear: a user name/password is invalid,
Please try again after to ensure correct login information,

CodePudding user response:

Confirmed case is right
Confirm the configuration inside the sid or servername is correct

CodePudding user response:

Up sqlplus and PLSQL can log in, the login is an error in Eclipse

CodePudding user response:

reference 4 floor Bxp_711 response:
up sqlplus and PLSQL can log in, on the Eclipse login error

Check out the Eclipse configuration problem,

CodePudding user response:

Check out the Eclipse configuration file,

CodePudding user response:

Oracle, JDBC driver
Need to update the 12 c drive
  • Related