diff --git a/src/db/MySQLConnector.java b/src/db/MySQLConnector.java index c0dd101..f518454 100755 --- a/src/db/MySQLConnector.java +++ b/src/db/MySQLConnector.java @@ -28,7 +28,7 @@ public class MySQLConnector extends Database { password); } catch (SQLException e) { - e.printStackTrace(); + System.err.println("no connection to database! start database server"); } return con; diff --git a/src/db/jdcb.java b/src/db/jdcb.java index 40ca699..cf35a51 100644 --- a/src/db/jdcb.java +++ b/src/db/jdcb.java @@ -1,6 +1,5 @@ package db; -import javax.swing.table.DefaultTableModel; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; diff --git a/src/website/Webserver.java b/src/website/Webserver.java index a76f5e0..f2ef43f 100644 --- a/src/website/Webserver.java +++ b/src/website/Webserver.java @@ -23,6 +23,7 @@ public class Webserver { server.setExecutor(null); // creates a default executor server.start(); + System.out.println("Server available at http://127.0.0.1:8000 now"); }