H2 db- Web控制台中的打开示例文件
我正在尝试打开我在Web控制台中使用示例代码制作的文件 代码: htttps://h2database.com/html/html/mvstore.html/mvstore.html#example_cpample_code_code_code
运行网络 https:////h2database.com/h2database.com/html/html/tml/tutororial.html/trorial
efor Web控制台: 数据库“/recript/path/to/file”找不到,要么预先创建它或允许远程数据库创建(不建议在安全环境中推荐)[90149-212] 90149/90149(help)
org.h2.jdbc.JdbcSQLNonTransientConnectionException: Database " ...path... " not found, either pre-create it or allow remote database creation (not recommended in secure environments) [90149-212]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:678)
at org.h2.message.DbException.getJdbcSQLException(DbException.java:477)
at org.h2.message.DbException.get(DbException.java:223)
at org.h2.message.DbException.get(DbException.java:199)
at org.h2.engine.Engine.throwNotFound(Engine.java:189)
at org.h2.engine.Engine.openSession(Engine.java:72)
at org.h2.engine.Engine.openSession(Engine.java:222)
at org.h2.engine.Engine.createSession(Engine.java:201)
at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:338)
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:122)
at org.h2.util.JdbcUtils.getConnection(JdbcUtils.java:288)
at org.h2.server.web.WebServer.getConnection(WebServer.java:808)
at org.h2.server.web.WebApp.login(WebApp.java:1033)
at org.h2.server.web.WebApp.process(WebApp.java:226)
at org.h2.server.web.WebApp.processRequest(WebApp.java:176)
at org.h2.server.web.WebThread.process(WebThread.java:153)
at org.h2.server.web.WebThread.run(WebThread.java:102)
at java.base/java.lang.Thread.run(Thread.java:831)
文件确实存在,我可以通过Java代码读取它,但不能使用Web控制台阅读。
I am trying to open file I made from example code in a web console
code:
https://h2database.com/html/mvstore.html#example_code
running web console https://h2database.com/html/tutorial.html#tutorial_starting_h2_console
error in the web console:Database "/correct/path/to/file" not found, either pre-create it or allow remote database creation (not recommended in secure environments) [90149-212] 90149/90149 (Help)
org.h2.jdbc.JdbcSQLNonTransientConnectionException: Database " ...path... " not found, either pre-create it or allow remote database creation (not recommended in secure environments) [90149-212]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:678)
at org.h2.message.DbException.getJdbcSQLException(DbException.java:477)
at org.h2.message.DbException.get(DbException.java:223)
at org.h2.message.DbException.get(DbException.java:199)
at org.h2.engine.Engine.throwNotFound(Engine.java:189)
at org.h2.engine.Engine.openSession(Engine.java:72)
at org.h2.engine.Engine.openSession(Engine.java:222)
at org.h2.engine.Engine.createSession(Engine.java:201)
at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:338)
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:122)
at org.h2.util.JdbcUtils.getConnection(JdbcUtils.java:288)
at org.h2.server.web.WebServer.getConnection(WebServer.java:808)
at org.h2.server.web.WebApp.login(WebApp.java:1033)
at org.h2.server.web.WebApp.process(WebApp.java:226)
at org.h2.server.web.WebApp.processRequest(WebApp.java:176)
at org.h2.server.web.WebThread.process(WebThread.java:153)
at org.h2.server.web.WebThread.run(WebThread.java:102)
at java.base/java.lang.Thread.run(Thread.java:831)
The file does exist and I can read it via Java code, but not with web console.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论