使用PLSql连接Oracle时报错ORA-12541:TNS:无监听程序
查看oracle的监听服务 OracleOraDb11g_home1TNSLister 已经启动
命令行执行 lsnrctl status
TNS-12560: Message 12560 not found; No message file for product=NETWORK, facility=TNS
TNS-00527: Message 527 not found; No message file for product=NETWORK, facility=TNS
Message 1053 not found; No message file for product=NETWORK, facility=TNSTNS-12557: Message 12557 not found; No message file for product=NETWORK, facility=TNS
TNS-12560: Message 12560 not found; No message file for product=NETWORK, facility=TNS
TNS-00527: Message 527 not found; No message file for product=NETWORK, facility=TNS
这是因为oracle的环境变量没有设置好
重新设置环境变量后问题解决