Java 在IntelliJ上,如何在启动Glassfish时运行JDBC连接
在Intellij Idea 12中,我尝试启动glassfish并部署我的应用程序 我得到了那个错误:rg.eclipse.persistence.exceptions.DatabaseException 内部异常:java.sql.SQLException:无法分配连接,因为:java.net.ConnectException。1527号港口关闭 但是当我在Netbeans中运行相同的项目时,我看到Netbeans在启动Glassfish之前在1527上启动了连接。选中该选项:“启用JDBC驱动程序部署” 我如何在Intellij中实现同样的功能Java 在IntelliJ上,如何在启动Glassfish时运行JDBC连接,java,netbeans,jdbc,intellij-idea,glassfish,Java,Netbeans,Jdbc,Intellij Idea,Glassfish,在Intellij Idea 12中,我尝试启动glassfish并部署我的应用程序 我得到了那个错误:rg.eclipse.persistence.exceptions.DatabaseException 内部异常:java.sql.SQLException:无法分配连接,因为:java.net.ConnectException。1527号港口关闭 但是当我在Netbeans中运行相同的项目时,我看到Netbeans在启动Glassfish之前在1527上启动了连接。选中该选项:“启用JDBC
提前感谢这是由于Apache derby服务器没有运行。 我需要在derby驱动程序中的脚本“startNetworkServer”之前运行,以使其正常工作