Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

springBoot集成,数据库不能初始化 #161

Open
qixue-zijing opened this issue Jul 20, 2020 · 1 comment
Open

springBoot集成,数据库不能初始化 #161

qixue-zijing opened this issue Jul 20, 2020 · 1 comment

Comments

@qixue-zijing
Copy link

为了您的问题能得到及时准确解答,请认真填写下面各个选项,感谢您的配合。

  • 当前使用的URule的具体版本号:

3.0.0.RC2

  • 遇到的问题详细描述:

springBoot集成,数据库不能初始化

  • 涉及到的异常信息(完整异常信息):

Caused by: javax.jcr.RepositoryException: File system initialization failure.
at org.apache.jackrabbit.core.config.RepositoryConfigurationParser$6.getFileSystem(RepositoryConfigurationParser.java:1168) ~[jackrabbit-core-2.13.3.jar:2.13.3]
at org.apache.jackrabbit.core.config.RepositoryConfig.getFileSystem(RepositoryConfig.java:916) ~[jackrabbit-core-2.13.3.jar:2.13.3]
at org.apache.jackrabbit.core.RepositoryImpl.(RepositoryImpl.java:264) ~[jackrabbit-core-2.13.3.jar:2.13.3]
at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:615) ~[jackrabbit-core-2.13.3.jar:2.13.3]
at com.bstek.urule.console.repository.RepositoryBuilder.b(RepositoryBuilder.java:183) ~[urule-console-pro-3.0.0-RC2.jar:na]
at com.bstek.urule.console.repository.RepositoryBuilder.m(RepositoryBuilder.java:326) ~[urule-console-pro-3.0.0-RC2.jar:na]
at com.bstek.urule.console.repository.RepositoryBuilder.afterPropertiesSet(RepositoryBuilder.java:310) ~[urule-console-pro-3.0.0-RC2.jar:na]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1855) ~[spring-beans-5.2.3.RELEASE.jar:5.2.3.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1792) ~[spring-beans-5.2.3.RELEASE.jar:5.2.3.RELEASE]
... 50 common frames omitted
Caused by: org.apache.jackrabbit.core.fs.FileSystemException: failed to initialize file system
at com.bstek.urule.console.repository.database.BaseDbFileSystem.init(BaseDbFileSystem.java:44) ~[urule-console-pro-3.0.0-RC2.jar:na]
at org.apache.jackrabbit.core.config.RepositoryConfigurationParser$6.getFileSystem(RepositoryConfigurationParser.java:1165) ~[jackrabbit-core-2.13.3.jar:2.13.3]
... 58 common frames omitted
Caused by: org.apache.jackrabbit.core.fs.FileSystemException: failed to check existence of file system root entry
at org.apache.jackrabbit.core.fs.db.DatabaseFileSystem.verifyRootExists(DatabaseFileSystem.java:890) ~[jackrabbit-core-2.13.3.jar:2.13.3]
at com.bstek.urule.console.repository.database.BaseDbFileSystem.init(BaseDbFileSystem.java:39) ~[urule-console-pro-3.0.0-RC2.jar:na]
... 59 common frames omitted
Caused by: java.sql.SQLSyntaxErrorException: Table 'test1.repo_fsentry' doesn't exist
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) ~[mysql-connector-java-8.0.19.jar:8.0.19]
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) ~[mysql-connector-java-8.0.19.jar:8.0.19]
at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) ~[mysql-connector-java-8.0.19.jar:8.0.19]
at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:953) ~[mysql-connector-java-8.0.19.jar:8.0.19]
at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:370) ~[mysql-connector-java-8.0.19.jar:8.0.19]
at com.alibaba.druid.pool.DruidPooledPreparedStatement.execute(DruidPooledPreparedStatement.java:497) ~[druid-1.1.20.jar:1.1.20]
at org.apache.jackrabbit.core.util.db.ConnectionHelper.execute(ConnectionHelper.java:515) ~[jackrabbit-data-2.13.3.jar:2.13.3]
at org.apache.jackrabbit.core.util.db.ConnectionHelper.reallyExec(ConnectionHelper.java:404) ~[jackrabbit-data-2.13.3.jar:2.13.3]
at org.apache.jackrabbit.core.util.db.ConnectionHelper$3.call(ConnectionHelper.java:379) ~[jackrabbit-data-2.13.3.jar:2.13.3]
at org.apache.jackrabbit.core.util.db.ConnectionHelper$3.call(ConnectionHelper.java:375) ~[jackrabbit-data-2.13.3.jar:2.13.3]
at org.apache.jackrabbit.core.util.db.ConnectionHelper$RetryManager.doTry(ConnectionHelper.java:543) ~[jackrabbit-data-2.13.3.jar:2.13.3]
at org.apache.jackrabbit.core.util.db.ConnectionHelper.exec(ConnectionHelper.java:375) ~[jackrabbit-data-2.13.3.jar:2.13.3]
at org.apache.jackrabbit.core.fs.db.DatabaseFileSystem.verifyRootExists(DatabaseFileSystem.java:879) ~[jackrabbit-core-2.13.3.jar:2.13.3]
... 60 common frames omitted

  • 相关截图:

@muliubing7825
Copy link

@qixue-zijing 这位小哥,你的问题解决了么?我如今也遇到跟你一样的问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants