jdbc.driverClassName = oracle.jdbc.driver.OracleDriver
jdbc.url = jdbc:oracle:thin:@ 172.16.4.14:1521:amsprod
jdbc.username = licdev
jdbc.password = licdev1234
当我运行这个程序时。控制台面板显示::
1 .java.sql.SQLRecoverableException:IO错误:网络适配器无法建立连接
2.Caused by:oracle.net.ns.NetException:网络适配器无法建立连接
此错误。
答案 0 :(得分:0)
配置mysql:
jdbc.driverClassName = com.mysql.jdbc.Driver
jdbc.url = jdbc:mysql://172.16.4.14:3306 / amsprod
jdbc.username = licdev
jdbc.password = licdev1234
<!DOCTYPE html>
<html>
<head>
<style>
div{background-color:red;}
div:nth-child(3n){background-color:black;}
</style>
</head>
<body>
<div>A</div>
<div>B</div>
<div>C</div> <!-- SPECIFIC STYLE -->
<div>D</div>
<div>E</div>
<div>F</div> <!-- SPECIFIC STYLE -->
<div>G</div>
<div>H</div>
<div>I</div> <!-- SPECIFIC STYLE -->
</body>
</html>