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

how can we deploy as flat jar #81

Open
chungchi300 opened this issue Oct 8, 2020 · 0 comments
Open

how can we deploy as flat jar #81

chungchi300 opened this issue Oct 8, 2020 · 0 comments

Comments

@chungchi300
Copy link

  1. mvn package in root directory
  2. java -jar admin/target/admin.jar

It gives me this,

2020-10-08 15:56:58.288 ERROR 23800 --- [           main] o.s.boot.SpringApplication               : Application run failed

org.hibernate.exception.SQLGrammarException: could not prepare statement
        at org.hibernate.exception.internal.SQLExceptionTypeDelegate.convert(SQLExceptionTypeDelegate.java:63) ~[hibernate-core-5.3.17.Final.jar!/:5.3.17.Final]
        at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:42) ~[hibernate-core-5.3.17.Final.jar!/:5.3.17.Final]
        at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:113) ~[hibernate-core-5.3.17.Final.jar!/:5.3.17.Final]
        at org.hibernate.engine.jdbc.internal.StatementPreparerImpl$StatementPreparationTemplate.prepareStatement(StatementPreparerImpl.java:186) ~[hibernate-core-5.3.17.Final.jar!/:5.3.17.Final]
        at org.hibernate.engine.jdbc.internal.StatementPreparerImpl.prepareQueryStatement(StatementPreparerImpl.java:151) ~[hibernate-core-5.3.17.Final.jar!/:5.3.17.Final]
        at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:2082) ~[hibernate-core-5.3.17.Final.jar!/:5.3.17.Final]
        at org.hibernate.loader.Loader.executeQueryStatement(Loader.java:2012) ~[hibernate-core-5.3.17.Final.jar!/:5.3.17.Final]
        at org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1990) ~[hibernate-core-5.3.17.Final.jar!/:5.3.17.Final]
        at org.hibernate.loader.Loader.doQuery(Loader.java:949) ~[hibernate-core-5.3.17.Final.jar!/:5.3.17.Final]
        at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:351) ~[hibernate-core-5.3.17.Final.jar!/:5.3.17.Final]
        at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:321) ~[hibernate-core-5.3.17.Final.jar!/:5.3.17.Final]
        at org.hibernate.loader.Loader.loadCollectionBatch(Loader.java:2536) ~[hibernate-core-5.3.17.Final.jar!/:5.3.17.Final]
        at org.hibernate.loader.collection.plan.LegacyBatchingCollectionInitializerBuilder$LegacyBatchingCollectionInitializer.initialize(LegacyBatchingCollectionInitializerBuilder.java:83) ~[hibernate-core-5.3.17.Final.jar!/:5.3.17.Final]
        at org.hibernate.persister.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:692) ~[hibernate-core

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

1 participant