I fixed this issue by correcting my jdbc string.
For example, the correct jdbc string should be...
jdbc:oracle:thin:@myserver:1521/XE
But the jdbs string I was using is ...
jdbc:oracle:thin:@myserver:1521:XE
(Note: between 1521
and XE
should be a /
)
This bad jdbc string give me a ORA-12505 error too.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…