Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- org.apache.jasper.JasperException: Unable to compile class for JSP:
- An error occurred at line: 31 in the jsp file: /database.jsp
- Unhandled exception type ClassNotFoundException
- 28: public void createDatabase()
- 29: {
- 30:
- 31: Class.forName("org.sqlite.JDBC");
- 32: _Conn = DriverManager.getConnection( "jdbc:sqlite:" + path_abs + "database.db" );
- 33: stat = _Conn.createStatement();
- 34:
- An error occurred at line: 32 in the jsp file: /database.jsp
- Unhandled exception type SQLException
- 29: {
- 30:
- 31: Class.forName("org.sqlite.JDBC");
- 32: _Conn = DriverManager.getConnection( "jdbc:sqlite:" + path_abs + "database.db" );
- 33: stat = _Conn.createStatement();
- 34:
- 35: stat.executeUpdate(
- An error occurred at line: 33 in the jsp file: /database.jsp
- Unhandled exception type SQLException
- 30:
- 31: Class.forName("org.sqlite.JDBC");
- 32: _Conn = DriverManager.getConnection( "jdbc:sqlite:" + path_abs + "database.db" );
- 33: stat = _Conn.createStatement();
- 34:
- 35: stat.executeUpdate(
- 36:
- An error occurred at line: 35 in the jsp file: /database.jsp
- Unhandled exception type SQLException
- 32: _Conn = DriverManager.getConnection( "jdbc:sqlite:" + path_abs + "database.db" );
- 33: stat = _Conn.createStatement();
- 34:
- 35: stat.executeUpdate(
- 36:
- 37: "CREATE TABLE `aktualnosci` (" +
- 38: " `id` INTEGER PRIMARY KEY AUTOINCREMENT," +
- An error occurred at line: 45 in the jsp file: /database.jsp
- Unhandled exception type SQLException
- 42: ");"
- 43: );
- 44:
- 45: stat.executeUpdate(
- 46: "CREATE TABLE `przedmiot` (" +
- 47: "`id` INTEGER PRIMARY KEY AUTOINCREMENT," +
- 48: "`nazwa` VARCHAR(50) NOT NULL UNIQUE," +
- An error occurred at line: 53 in the jsp file: /database.jsp
- Unhandled exception type SQLException
- 50: ");"
- 51: );
- 52:
- 53: stat.executeUpdate(
- 54: "CREATE TABLE `sala` (" +
- 55: "`id` INTEGER PRIMARY KEY AUTOINCREMENT," +
- 56: "`numer` VARCHAR(8) NOT NULL," +
- An error occurred at line: 62 in the jsp file: /database.jsp
- Unhandled exception type SQLException
- 59: ");"
- 60: );
- 61:
- 62: stat.executeUpdate(
- 63: "CREATE TABLE `miejscowosc` (" +
- 64: "`id` INTEGER PRIMARY KEY AUTOINCREMENT," +
- 65: "`nazwa` VARCHAR(60) NOT NULL," +
- An error occurred at line: 71 in the jsp file: /database.jsp
- Unhandled exception type SQLException
- 68: ");"
- 69: );
- 70:
- 71: stat.executeUpdate(
- 72: "CREATE TABLE `profil` (" +
- 73: "`id` INTEGER PRIMARY KEY AUTOINCREMENT," +
- 74: "`nazwa` VARCHAR(70) NOT NULL UNIQUE," +
- An error occurred at line: 79 in the jsp file: /database.jsp
- Unhandled exception type SQLException
- 76: ");"
- 77: );
- 78:
- 79: stat.executeUpdate(
- 80: "CREATE TABLE `uzytkownik` (" +
- 81: "`id` INTEGER PRIMARY KEY AUTOINCREMENT," +
- 82: "`imie` VARCHAR(50) NOT NULL," +
- An error occurred at line: 96 in the jsp file: /database.jsp
- Unhandled exception type SQLException
- 93: "`haslo` VARCHAR(255) NOT NULL" +
- 94: ");"
- 95: );
- 96: stat.executeUpdate(
- 97: "CREATE TABLE `klasa` (" +
- 98: "`id` INTEGER PRIMARY KEY AUTOINCREMENT," +
- 99: "`nr_klasy` VARCHAR(15) NOT NULL," +
- An error occurred at line: 108 in the jsp file: /database.jsp
- Unhandled exception type SQLException
- 105:
- 106: );
- 107:
- 108: stat.executeUpdate(
- 109: "CREATE TABLE `zajecia` (" +
- 110: "`id` INTEGER PRIMARY KEY AUTOINCREMENT," +
- 111: "`id_przedmiot` INTEGER NOT NULL REFERENCES przedmiot(id)," +
- An error occurred at line: 119 in the jsp file: /database.jsp
- Unhandled exception type SQLException
- 116: ");"
- 117: );
- 118:
- 119: stat.executeUpdate(
- 120: "CREATE TABLE `terminarz` (" +
- 121: "`id_zajecia` INTEGER NOT NULL REFERENCES zajecia(id)," +
- 122: "`data` DATE NOT NULL," +
- An error occurred at line: 127 in the jsp file: /database.jsp
- Unhandled exception type SQLException
- 124: ");"
- 125: );
- 126:
- 127: stat.executeUpdate(
- 128: "CREATE TABLE `ocena` (" +
- 129: "`id_zajecia` INTEGER REFERENCES zajecia(id)," +
- 130: "`id_uczen` INTEGER REFERENCES uzytkownik(id)," +
- An error occurred at line: 136 in the jsp file: /database.jsp
- Unhandled exception type SQLException
- 133: ");"
- 134: );
- 135:
- 136: stat.executeUpdate(
- 137: "CREATE TABLE `uwaga`(" +
- 138: "`id_zajecia` INTEGER PRIMARY KEY AUTOINCREMENT REFERENCES zajecia(id)," +
- 139: "`id_uczen` VARCHAR(50) NOT NULL REFERENCES uzytkownik(id)," +
- An error occurred at line: 144 in the jsp file: /database.jsp
- Unhandled exception type SQLException
- 141: ");"
- 142: );
- 143:
- 144: stat.executeUpdate(
- 145: "CREATE TABLE `obecnosci`(" +
- 146: "`id_zajecia` INTEGER NOT NULL REFERENCES zajecia(id)," +
- 147: "`id_uczen` INTEGER NOT NULL REFERENCES uzytkownik(id)," +
- An error occurred at line: 152 in the jsp file: /database.jsp
- Unhandled exception type SQLException
- 149: "`data` DATE NOT NULL" +
- 150: ");"
- 151: );
- 152: stat.executeUpdate(
- 153: "CREATE TABLE `logi`(" +
- 154: "`id` INTEGER PRIMARY KEY AUTOINCREMENT," +
- 155: "`id_user` INTEGER REFERENCES uzytkownik(id)," +
- An error occurred at line: 160 in the jsp file: /database.jsp
- Unhandled exception type SQLException
- 157: ");"
- 158: );
- 159:
- 160: stat.close();
- 161: _Conn.close();
- 162:
- 163: }
- An error occurred at line: 161 in the jsp file: /database.jsp
- Unhandled exception type SQLException
- 158: );
- 159:
- 160: stat.close();
- 161: _Conn.close();
- 162:
- 163: }
- 164:
- Stacktrace:
- org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102)
- org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:198)
- org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:449)
- org.apache.jasper.compiler.Compiler.compile(Compiler.java:361)
- org.apache.jasper.compiler.Compiler.compile(Compiler.java:336)
- org.apache.jasper.compiler.Compiler.compile(Compiler.java:323)
- org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)
- org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:363)
- org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396)
- org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)
- javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
- org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement