GithubHelp home page GithubHelp logo

Comments (7)

mraible avatar mraible commented on May 27, 2024

What's the error you're seeing with the prod profile?

from generator-jhipster.

github-actions avatar github-actions commented on May 27, 2024

JHipster has completed the sample check
.yo-rc.json:
Entities JDL:
Application: successfully generated
Frontend check: skipped
Backend check: skipped
E2E check: skipped

This check uses jhipster info output from the issue description to generate the sample.
Bug report that does not contain this information will be marked as invalid.

from generator-jhipster.

DanielFran avatar DanielFran commented on May 27, 2024

@pragnesh Can you add jhipster info?

from generator-jhipster.

pragnesh avatar pragnesh commented on May 27, 2024
% jhipster info
WARNING! Since JHipster v8, the jhipster command will not use the locally installed generator-jhipster.
    If you want to execute the locally installed generator-jhipster, run: npx jhipster

        ██╗ ██╗   ██╗ ████████╗ ███████╗   ██████╗ ████████╗ ████████╗ ███████╗
        ██║ ██║   ██║ ╚══██╔══╝ ██╔═══██╗ ██╔════╝ ╚══██╔══╝ ██╔═════╝ ██╔═══██╗
        ██║ ████████║    ██║    ███████╔╝ ╚█████╗     ██║    ██████╗   ███████╔╝
  ██╗   ██║ ██╔═══██║    ██║    ██╔════╝   ╚═══██╗    ██║    ██╔═══╝   ██╔══██║
  ╚██████╔╝ ██║   ██║ ████████╗ ██║       ██████╔╝    ██║    ████████╗ ██║  ╚██╗
   ╚═════╝  ╚═╝   ╚═╝ ╚═══════╝ ╚═╝       ╚═════╝     ╚═╝    ╚═══════╝ ╚═╝   ╚═╝
                            https://www.jhipster.tech
Welcome to JHipster v8.3.0

Welcome to the JHipster Information Sub-Generator


[email protected] /data2/refine_dev/test_proj
`-- [email protected]



##### **JHipster configuration, a `.yo-rc.json` file generated in the root folder**


<details>
<summary>.yo-rc.json file</summary>
<pre>
{
  "generator-jhipster": {
    "applicationType": "monolith",
    "authenticationType": "jwt",
    "baseName": "testProj",
    "buildTool": "maven",
    "cacheProvider": "ehcache",
    "clientFramework": "react",
    "clientTestFrameworks": [],
    "clientTheme": "none",
    "creationTimestamp": 1712673446828,
    "databaseType": "sql",
    "devDatabaseType": "mysql",
    "devServerPort": 9060,
    "enableHibernateCache": true,
    "enableSwaggerCodegen": false,
    "enableTranslation": false,
    "entities": [],
    "feignClient": null,
    "jhipsterVersion": "8.3.0",
    "messageBroker": false,
    "microfrontend": null,
    "microfrontends": [],
    "nativeLanguage": "en",
    "packageName": "com.mycompany.myapp",
    "prodDatabaseType": "mysql",
    "reactive": false,
    "searchEngine": false,
    "serverPort": null,
    "serverSideOptions": [],
    "serviceDiscoveryType": false,
    "syncUserWithIdp": null,
    "testFrameworks": [],
    "websocket": false,
    "withAdminUi": true
  }
}
</pre>
</details>


##### **Environment and Tools**

openjdk version "17.0.10" 2024-01-16
OpenJDK Runtime Environment (build 17.0.10+7-Ubuntu-122.04.1)
OpenJDK 64-Bit Server VM (build 17.0.10+7-Ubuntu-122.04.1, mixed mode, sharing)

git version 2.43.2

node: v18.18.2
npm: 9.8.1

Docker version 26.0.0, build 2ae903e

##### **JDL for the Entity configuration(s) `entityName.json` files generated in the `.jhipster` directory**

<details>
<summary>JDL entity definitions</summary>

<pre>

</pre>
</details>


Congratulations, JHipster execution is complete!
If you find JHipster useful consider sponsoring the project https://www.jhipster.tech/sponsors/

Thanks for using JHipster!

from generator-jhipster.

pragnesh avatar pragnesh commented on May 27, 2024

What's the error you're seeing with the prod profile?

it can't pick up prod profile argument and fallback to dev mode

% ./mvnw -Pprod,api-docs
Warning: JAVA_HOME environment variable is not set.
[INFO] Scanning for projects...
[INFO] 
[INFO] -------------------< com.mycompany.myapp:test-proj >--------------------
[INFO] Building Test Proj 0.0.1-SNAPSHOT
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] >>> spring-boot:3.2.4:run (default-cli) > test-compile @ test-proj >>>
[INFO] 
[INFO] --- enforcer:3.4.1:enforce (enforce-versions) @ test-proj ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed
[INFO] Rule 1: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed
[INFO] 
[INFO] --- enforcer:3.4.1:enforce (enforce-dependencyConvergence) @ test-proj ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.DependencyConvergence passed
[INFO] 
[INFO] --- resources:3.3.1:copy-resources (config-resources) @ test-proj ---
[INFO] Copying 4 resources from src/main/resources to target/classes
[INFO] 
[INFO] --- properties:1.2.1:read-project-properties (default) @ test-proj ---
[INFO] Loading 28 properties from File: /data2/refine_dev/test_proj/sonar-project.properties
[INFO] 
[INFO] --- jacoco:0.8.12:prepare-agent (pre-unit-tests) @ test-proj ---
[INFO] argLine set to -javaagent:/home/pragnesh/.m2/repository/org/jacoco/org.jacoco.agent/0.8.12/org.jacoco.agent-0.8.12-runtime.jar=destfile=/data2/refine_dev/test_proj/target/jacoco.exec -Djava.security.egd=file:/dev/./urandom -Xmx1G
[INFO] 
[INFO] --- git-commit-id:8.0.2:revision (default) @ test-proj ---
[INFO] dotGitDirectory '/data2/refine_dev/test_proj/.git'
[INFO] Using environment variable based branch name. GIT_BRANCH = null
[INFO] Detected that running on CI environment, but using repository branch, no GIT_BRANCH detected.
[INFO] Collected git.branch with value master
[INFO] Collected git.commit.id.describe with value b17bae0-dirty
[INFO] Collected git.commit.id.abbrev with value b17bae0
[INFO] including property 'git.commit.id.describe' in results
[INFO] including property 'git.commit.id.abbrev' in results
[INFO] including property 'git.branch' in results
[INFO] Reading existing properties file [/data2/refine_dev/test_proj/target/classes/git.properties] (for project Test Proj)...
[INFO] Properties file [/data2/refine_dev/test_proj/target/classes/git.properties] is up-to-date (for module Test Proj)...
[INFO] 
[INFO] --- spotless:2.43.0:apply (spotless) @ test-proj ---
[INFO] Spotless.Java is keeping 109 files clean - 0 were changed to be clean, 0 were already clean, 109 were skipped because caching determined they were already clean
[INFO] 
[INFO] --- spring-boot:3.2.4:build-info (default) @ test-proj ---
[INFO] 
[INFO] --- frontend:1.15.0:install-node-and-npm (install-node-and-npm) @ test-proj ---
[INFO] Node v20.12.1 is already installed.
[INFO] NPM 10.5.1 is already installed.
[INFO] 
[INFO] --- frontend:1.15.0:npm (npm install) @ test-proj ---
[INFO] Running 'npm install' in /data2/refine_dev/test_proj
[INFO] 
[INFO] > [email protected] prepare
[INFO] > husky
[INFO] 
[INFO] 
[INFO] up to date, audited 1964 packages in 13s
[INFO] 
[INFO] 349 packages are looking for funding
[INFO]   run `npm fund` for details
[INFO] 
[INFO] 10 vulnerabilities (7 moderate, 1 high, 2 critical)
[INFO] 
[INFO] To address all issues possible (including breaking changes), run:
[INFO]   npm audit fix --force
[INFO] 
[INFO] Some issues need review, and may require choosing
[INFO] a different dependency.
[INFO] 
[INFO] Run `npm audit` for details.
[INFO] 
[INFO] --- frontend:1.15.0:npm (webapp build prod) @ test-proj ---
[INFO] npm not inheriting proxy config from Maven
[INFO] Running 'npm run webapp:prod' in /data2/refine_dev/test_proj
[INFO] 
[INFO] > [email protected] webapp:prod
[INFO] > npm run clean-www && npm run webapp:build:prod --
[INFO] 
[INFO] 
[INFO] > [email protected] clean-www
[INFO] > rimraf target/classes/static/
[INFO] 
[INFO] 
[INFO] > [email protected] webapp:build:prod
[INFO] > webpack --config webpack/webpack.prod.js --progress=profile
[INFO] 
[INFO] <s> [webpack.Progress] 0% 
[INFO] 
[INFO] <s> [webpack.Progress] 1% setup before run
[INFO] <s> [webpack.Progress] 1% setup before run NodeEnvironmentPlugin
[INFO] <s> [webpack.Progress] 1% setup before run
[INFO] <s> [webpack.Progress] 2% setup run
[INFO] <s> [webpack.Progress] 2% setup run webpack-cli
[INFO] <s> [webpack.Progress] 2% setup run ESLintWebpackPlugin_1
[INFO] <s> [webpack.Progress] 2% setup run ForkTsCheckerWebpackPlugin
[INFO] <s> [webpack.Progress] 2% setup run
[INFO] <s> [webpack.Progress] 4% setup normal module factory
[INFO] <s> [webpack.Progress] 4% setup normal module factory
[INFO] <s> [webpack.Progress] 5% setup context module factory
[INFO] <s> [webpack.Progress] 5% setup context module factory
[INFO] <s> [webpack.Progress] 6% setup before compile
[INFO] <s> [webpack.Progress] 6% setup before compile ProgressPlugin
[INFO] <s> [webpack.Progress] 6% setup before compile
[INFO] <s> [webpack.Progress] 7% setup compile
[INFO] <s> [webpack.Progress] 7% setup compile ExternalsPlugin
[INFO] <s> [webpack.Progress] 7% setup compile
[INFO] <i> [webpack.Progress]  | 11 ms setup > compile
[INFO] <s> [webpack.Progress] 8% setup compilation
[INFO] <s> [webpack.Progress] 8% setup compilation CopyPlugin
[INFO] <s> [webpack.Progress] 8% setup compilation mini-css-extract-plugin
[INFO] <s> [webpack.Progress] 8% setup compilation GenerateSW
[INFO] <s> [webpack.Progress] 8% setup compilation ArrayPushCallbackChunkFormatPlugin
[INFO] <s> [webpack.Progress] 8% setup compilation JsonpChunkLoadingPlugin
[INFO] <s> [webpack.Progress] 8% setup compilation StartupChunkDependenciesPlugin
[INFO] <s> [webpack.Progress] 8% setup compilation ImportScriptsChunkLoadingPlugin
[INFO] <s> [webpack.Progress] 8% setup compilation FetchCompileWasmPlugin
[INFO] <s> [webpack.Progress] 8% setup compilation FetchCompileAsyncWasmPlugin
[INFO] <s> [webpack.Progress] 8% setup compilation WorkerPlugin
[INFO] <s> [webpack.Progress] 8% setup compilation SplitChunksPlugin
[INFO] <s> [webpack.Progress] 8% setup compilation ResolverCachePlugin
[INFO] <s> [webpack.Progress] 8% setup compilation HtmlWebpackPlugin
[INFO] <s> [webpack.Progress] 8% setup compilation
[INFO] <s> [webpack.Progress] 9% setup compilation
[INFO] <s> [webpack.Progress] 9% setup compilation ProgressPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation DefinePlugin
[INFO] <s> [webpack.Progress] 9% setup compilation DefinePlugin
[INFO] <s> [webpack.Progress] 9% setup compilation ForkTsCheckerWebpackPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation mini-css-extract-plugin
[INFO] <s> [webpack.Progress] 9% setup compilation LoaderOptionsPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation ChunkPrefetchPreloadPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation JavascriptModulesPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation JsonModulesPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation AssetModulesPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation EntryPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation RuntimePlugin
[INFO] <s> [webpack.Progress] 9% setup compilation InferAsyncModulesPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation DataUriPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation FileUriPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation CompatibilityPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation HarmonyModulesPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation AMDPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation RequireJsStuffPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation CommonJsPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation LoaderPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation LoaderPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation NodeStuffPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation APIPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation ExportsInfoApiPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation WebpackIsIncludedPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation ConstPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation UseStrictPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation RequireIncludePlugin
[INFO] <s> [webpack.Progress] 9% setup compilation RequireEnsurePlugin
[INFO] <s> [webpack.Progress] 9% setup compilation RequireContextPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation ImportPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation ImportMetaContextPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation SystemPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation ImportMetaPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation URLPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation DefaultStatsFactoryPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation DefaultStatsPresetPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation DefaultStatsPrinterPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation JavascriptMetaInfoPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation EnsureChunkConditionsPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation RemoveEmptyChunksPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation MergeDuplicateChunksPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation FlagIncludedChunksPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation SideEffectsFlagPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation FlagDependencyExportsPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation FlagDependencyUsagePlugin
[INFO] <s> [webpack.Progress] 9% setup compilation InnerGraphPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation MangleExportsPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation ModuleConcatenationPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation NoEmitOnErrorsPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation RealContentHashPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation WasmFinalizeExportsPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation DeterministicModuleIdsPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation DeterministicChunkIdsPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation DefinePlugin
[INFO] <s> [webpack.Progress] 9% setup compilation TerserPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation CssMinimizerPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation TemplatedPathPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation RecordIdsPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation WarnCaseSensitiveModulesPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation AddBuildDependenciesPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation AddBuildDependenciesPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation AddBuildDependenciesPlugin
[INFO] <s> [webpack.Progress] 9% setup compilation ESLintWebpackPlugin_1
[INFO] <i> [webpack.Progress]  |  | 216 ms compilation > ESLintWebpackPlugin_1
[INFO] <s> [webpack.Progress] 9% setup compilation
[INFO] <i> [webpack.Progress]  | 271 ms setup > compilation
[INFO] <i> [webpack.Progress] 298 ms setup
[INFO] <s> [webpack.Progress] 10% building
[INFO] <s> [webpack.Progress] 10% building 0/1 entries 0/0 dependencies 0/0 modules
[INFO] <s> [webpack.Progress] 10% building 0/1 entries 1/1 dependencies 0/0 modules
[INFO] <s> [webpack.Progress] 42% building 0/1 entries 1484/1500 dependencies 343/486 modules
[INFO] <s> [webpack.Progress] 65% building 1/1 entries 1858/1858 dependencies 575/575 modules
[INFO] <w> [webpack.Progress]  | 1356 ms building > entries dependencies modules
[INFO] <s> [webpack.Progress] 65% building
[INFO] <s> [webpack.Progress] 69% building finish
[INFO] <s> [webpack.Progress] 69% building finish
[INFO] <w> [webpack.Progress] 1359 ms building
[INFO] <s> [webpack.Progress] 70% sealing finish module graph
[INFO] <s> [webpack.Progress] 70% sealing finish module graph ResolverCachePlugin
[INFO] <s> [webpack.Progress] 70% sealing finish module graph InferAsyncModulesPlugin
[INFO] <s> [webpack.Progress] 70% sealing finish module graph FlagDependencyExportsPlugin
[INFO] <i> [webpack.Progress]  |  | 46 ms finish module graph > FlagDependencyExportsPlugin
[INFO] <s> [webpack.Progress] 70% sealing finish module graph InnerGraphPlugin
[INFO] <s> [webpack.Progress] 70% sealing finish module graph WasmFinalizeExportsPlugin
[INFO] <s> [webpack.Progress] 70% sealing finish module graph ESLintWebpackPlugin_1
[INFO] <s> [webpack.Progress] 70% sealing finish module graph
[INFO] <i> [webpack.Progress]  | 76 ms sealing > finish module graph
[INFO] <s> [webpack.Progress] 70% sealing plugins
[INFO] <s> [webpack.Progress] 70% sealing plugins WarnCaseSensitiveModulesPlugin
[INFO] <s> [webpack.Progress] 70% sealing plugins
[INFO] <s> [webpack.Progress] 71% sealing dependencies optimization
[INFO] <s> [webpack.Progress] 71% sealing dependencies optimization SideEffectsFlagPlugin
[INFO] <i> [webpack.Progress]  |  | 13 ms dependencies optimization > SideEffectsFlagPlugin
[INFO] <s> [webpack.Progress] 71% sealing dependencies optimization FlagDependencyUsagePlugin
[INFO] <i> [webpack.Progress]  |  | 84 ms dependencies optimization > FlagDependencyUsagePlugin
[INFO] <s> [webpack.Progress] 71% sealing dependencies optimization
[INFO] <i> [webpack.Progress]  | 97 ms sealing > dependencies optimization
[INFO] <s> [webpack.Progress] 71% sealing after dependencies optimization
[INFO] <s> [webpack.Progress] 71% sealing after dependencies optimization
[INFO] <s> [webpack.Progress] 72% sealing chunk graph
[INFO] <s> [webpack.Progress] 72% sealing chunk graph
[INFO] <i> [webpack.Progress]  | 47 ms sealing > chunk graph
[INFO] <s> [webpack.Progress] 73% sealing after chunk graph
[INFO] <s> [webpack.Progress] 73% sealing after chunk graph
[INFO] <s> [webpack.Progress] 73% sealing optimizing
[INFO] <s> [webpack.Progress] 73% sealing optimizing
[INFO] <s> [webpack.Progress] 74% sealing module optimization
[INFO] <s> [webpack.Progress] 74% sealing module optimization
[INFO] <s> [webpack.Progress] 75% sealing after module optimization
[INFO] <s> [webpack.Progress] 75% sealing after module optimization
[INFO] <s> [webpack.Progress] 75% sealing chunk optimization
[INFO] <s> [webpack.Progress] 75% sealing chunk optimization EnsureChunkConditionsPlugin
[INFO] <s> [webpack.Progress] 75% sealing chunk optimization RemoveEmptyChunksPlugin
[INFO] <s> [webpack.Progress] 75% sealing chunk optimization MergeDuplicateChunksPlugin
[INFO] <s> [webpack.Progress] 75% sealing chunk optimization SplitChunksPlugin
[INFO] <i> [webpack.Progress]  |  | 22 ms chunk optimization > SplitChunksPlugin
[INFO] <s> [webpack.Progress] 75% sealing chunk optimization RemoveEmptyChunksPlugin
[INFO] <s> [webpack.Progress] 75% sealing chunk optimization
[INFO] <i> [webpack.Progress]  | 23 ms sealing > chunk optimization
[INFO] <s> [webpack.Progress] 76% sealing after chunk optimization
[INFO] <s> [webpack.Progress] 76% sealing after chunk optimization
[INFO] <s> [webpack.Progress] 77% sealing module and chunk tree optimization
[INFO] <s> [webpack.Progress] 77% sealing module and chunk tree optimization PersistentChildCompilerSingletonPlugin
[INFO] <s> [webpack.Progress] 77% sealing module and chunk tree optimization
[INFO] <s> [webpack.Progress] 77% sealing after module and chunk tree optimization
[INFO] <s> [webpack.Progress] 77% sealing after module and chunk tree optimization
[INFO] <s> [webpack.Progress] 78% sealing chunk modules optimization
[INFO] <s> [webpack.Progress] 78% sealing chunk modules optimization ModuleConcatenationPlugin
[INFO] <i> [webpack.Progress]  |  | 112 ms chunk modules optimization > ModuleConcatenationPlugin
[INFO] <s> [webpack.Progress] 78% sealing chunk modules optimization
[INFO] <i> [webpack.Progress]  | 113 ms sealing > chunk modules optimization
[INFO] <s> [webpack.Progress] 78% sealing after chunk modules optimization
[INFO] <s> [webpack.Progress] 78% sealing after chunk modules optimization
[INFO] <s> [webpack.Progress] 79% sealing module reviving
[INFO] <s> [webpack.Progress] 79% sealing module reviving RecordIdsPlugin
[INFO] <s> [webpack.Progress] 79% sealing module reviving
[INFO] <s> [webpack.Progress] 80% sealing before module ids
[INFO] <s> [webpack.Progress] 80% sealing before module ids
[INFO] <s> [webpack.Progress] 80% sealing module ids
[INFO] <s> [webpack.Progress] 80% sealing module ids DeterministicModuleIdsPlugin
[INFO] <s> [webpack.Progress] 80% sealing module ids
[INFO] <s> [webpack.Progress] 81% sealing module id optimization
[INFO] <s> [webpack.Progress] 81% sealing module id optimization
[INFO] <s> [webpack.Progress] 82% sealing module id optimization
[INFO] <s> [webpack.Progress] 82% sealing module id optimization
[INFO] <s> [webpack.Progress] 82% sealing chunk reviving
[INFO] <s> [webpack.Progress] 82% sealing chunk reviving RecordIdsPlugin
[INFO] <s> [webpack.Progress] 82% sealing chunk reviving
[INFO] <s> [webpack.Progress] 83% sealing before chunk ids
[INFO] <s> [webpack.Progress] 83% sealing before chunk ids
[INFO] <s> [webpack.Progress] 84% sealing chunk ids
[INFO] <s> [webpack.Progress] 84% sealing chunk ids DeterministicChunkIdsPlugin
[INFO] <s> [webpack.Progress] 84% sealing chunk ids
[INFO] <s> [webpack.Progress] 84% sealing chunk id optimization
[INFO] <s> [webpack.Progress] 84% sealing chunk id optimization FlagIncludedChunksPlugin
[INFO] <s> [webpack.Progress] 84% sealing chunk id optimization
[INFO] <s> [webpack.Progress] 85% sealing after chunk id optimization
[INFO] <s> [webpack.Progress] 85% sealing after chunk id optimization
[INFO] <s> [webpack.Progress] 86% sealing record modules
[INFO] <s> [webpack.Progress] 86% sealing record modules RecordIdsPlugin
[INFO] <s> [webpack.Progress] 86% sealing record modules
[INFO] <s> [webpack.Progress] 86% sealing record chunks
[INFO] <s> [webpack.Progress] 86% sealing record chunks RecordIdsPlugin
[INFO] <s> [webpack.Progress] 86% sealing record chunks
[INFO] <i> [webpack.Progress]  | 25 ms sealing > record chunks
[INFO] <s> [webpack.Progress] 87% sealing module hashing
[INFO] <s> [webpack.Progress] 87% sealing module hashing
[INFO] <i> [webpack.Progress]  | 73 ms sealing > module hashing
[INFO] <s> [webpack.Progress] 87% sealing code generation
[INFO] <s> [webpack.Progress] 87% sealing code generation
[INFO] <s> [webpack.Progress] 88% sealing runtime requirements
[INFO] <s> [webpack.Progress] 88% sealing runtime requirements
[INFO] <i> [webpack.Progress]  | 22 ms sealing > runtime requirements
[INFO] <s> [webpack.Progress] 89% sealing hashing
[INFO] <s> [webpack.Progress] 89% sealing hashing
[INFO] <i> [webpack.Progress]  | 19 ms sealing > hashing
[INFO] <s> [webpack.Progress] 89% sealing after hashing
[INFO] <s> [webpack.Progress] 89% sealing after hashing
[INFO] <s> [webpack.Progress] 90% sealing record hash
[INFO] <s> [webpack.Progress] 90% sealing record hash
[INFO] <s> [webpack.Progress] 91% sealing module assets processing
[INFO] <s> [webpack.Progress] 91% sealing module assets processing
[INFO] <s> [webpack.Progress] 91% sealing chunk assets processing
[INFO] <s> [webpack.Progress] 91% sealing chunk assets processing
[INFO] <s> [webpack.Progress] 92% sealing asset processing
[INFO] <s> [webpack.Progress] 92% sealing asset processing copy-webpack-plugin
[INFO] <i> [webpack.Progress]  |  | 123 ms asset processing > copy-webpack-plugin
[INFO] <s> [webpack.Progress] 92% sealing asset processing ESLintWebpackPlugin_1
[INFO] <s> [webpack.Progress] 92% sealing asset processing PersistentChildCompilerSingletonPlugin
[INFO] <s> [webpack.Progress] 92% sealing asset processing TerserPlugin
[INFO] <i> [webpack.Progress]  |  | 46 ms asset processing > TerserPlugin
[INFO] <s> [webpack.Progress] 92% sealing asset processing CssMinimizerPlugin
[INFO] <s> [webpack.Progress] 92% sealing asset processing HtmlWebpackPlugin
[INFO] <i> [webpack.Progress]  |  | 230 ms asset processing > HtmlWebpackPlugin
[INFO] <s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin
[INFO] <i> [webpack.Progress]  |  | 46 ms asset processing > RealContentHashPlugin
[INFO] <s> [webpack.Progress] 92% sealing asset processing GenerateSW
[INFO] <w> [webpack.Progress]  |  | 3579 ms asset processing > GenerateSW
[INFO] <s> [webpack.Progress] 92% sealing asset processing
[INFO] <w> [webpack.Progress]  | 4030 ms sealing > asset processing
[INFO] <s> [webpack.Progress] 93% sealing after asset optimization
[INFO] <s> [webpack.Progress] 93% sealing after asset optimization
[INFO] <s> [webpack.Progress] 93% sealing recording
[INFO] <s> [webpack.Progress] 93% sealing recording
[INFO] <s> [webpack.Progress] 94% sealing after seal
[INFO] <s> [webpack.Progress] 94% sealing after seal
[INFO] <w> [webpack.Progress]  | 2103 ms sealing > after seal
[INFO] <w> [webpack.Progress] 6676 ms sealing
[INFO] <s> [webpack.Progress] 95% emitting emit
[INFO] <s> [webpack.Progress] 95% emitting emit
[INFO] <i> [webpack.Progress]  | 43 ms emitting > emit
[INFO] <s> [webpack.Progress] 98% emitting after emit
[INFO] <s> [webpack.Progress] 98% emitting after emit SizeLimitsPlugin
[INFO] <s> [webpack.Progress] 98% emitting after emit
[INFO] <i> [webpack.Progress] 47 ms emitting
[INFO] <s> [webpack.Progress] 99% done plugins
[INFO] <s> [webpack.Progress] 99% done plugins ForkTsCheckerWebpackPlugin
[INFO] <s> [webpack.Progress] 99% done plugins IdleFileCachePlugin
[INFO] <s> [webpack.Progress] 99% done plugins
[INFO] <s> [webpack.Progress] 99% 
[INFO] 
[INFO] <s> [webpack.Progress] 99% cache store build dependencies
[INFO] <s> [webpack.Progress] 99% cache store build dependencies IdleFileCachePlugin
[INFO] <s> [webpack.Progress] 99% cache store build dependencies
[INFO] <s> [webpack.Progress] 99% cache begin idle
[INFO] <s> [webpack.Progress] 99% cache begin idle IdleFileCachePlugin
[INFO] <s> [webpack.Progress] 99% cache begin idle
[INFO] <s> [webpack.Progress] 100% 
[INFO] 
[INFO] <s> [webpack.Progress] 99% cache shutdown
[INFO] <s> [webpack.Progress] 99% cache shutdown MemoryCachePlugin
[INFO] <s> [webpack.Progress] 99% cache shutdown IdleFileCachePlugin
[INFO] <s> [webpack.Progress] 99% cache shutdown IdleFileCachePlugin process pending cache items
[INFO] <s> [webpack.Progress] 99% cache shutdown IdleFileCachePlugin stored
[INFO] <s> [webpack.Progress] 99% cache shutdown
[INFO] <s> [webpack.Progress] 100% 
[INFO] 
[INFO] assets by path content/ 677 KiB
[INFO]   assets by path content/images/*.png 159 KiB 17 assets
[INFO]   assets by path content/images/*.svg 275 KiB 4 assets
[INFO]   assets by info 241 KiB [immutable] 2 assets
[INFO]   + 1 asset
[INFO] assets by path swagger-ui/ 3.58 MiB 16 assets
[INFO] assets by path *.js 1.01 MiB
[INFO]   assets by info 1020 KiB [immutable] 3 assets
[INFO]   asset workbox-1c3383c2.js 14 KiB [emitted] [minimized]
[INFO]   asset service-worker.js 3.45 KiB [emitted] [minimized]
[INFO] asset index.html 3.73 KiB [emitted]
[INFO] asset favicon.ico 1.54 KiB [emitted] [from: src/main/webapp/favicon.ico] [copied]
[INFO] asset manifest.webapp 751 bytes [emitted] [from: src/main/webapp/manifest.webapp] [copied]
[INFO] asset robots.txt 216 bytes [emitted] [from: src/main/webapp/robots.txt] [copied]
[INFO] Entrypoint main [big] 1.2 MiB = content/main.6eea5a8b862525107678.css 241 KiB main.05411d13.js 991 KiB
[INFO] cached modules 3.93 MiB (javascript) 247 KiB (css/mini-extract) 11.1 KiB (runtime) [cached] 589 modules
[INFO] 
[INFO] LOG from GenerateSW
[INFO] <i> The service worker at service-worker.js will precache
[INFO] <i>         32 URLs, totaling 1.74 MB.
[INFO] 
[INFO] WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
[INFO] This can impact web performance.
[INFO] Assets: 
[INFO]   swagger-ui/swagger-ui-bundle.js (1.24 MiB)
[INFO]   swagger-ui/swagger-ui-es-bundle-core.js (412 KiB)
[INFO]   swagger-ui/swagger-ui-es-bundle.js (1.24 MiB)
[INFO]   swagger-ui/swagger-ui.js (301 KiB)
[INFO]   main.05411d13.js (991 KiB)
[INFO] 
[INFO] WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
[INFO] Entrypoints:
[INFO]   main (1.2 MiB)
[INFO]       content/main.6eea5a8b862525107678.css
[INFO]       main.05411d13.js
[INFO] 
[INFO] webpack 5.91.0 compiled with 2 warnings in 8384 ms
[INFO] 
[INFO] --- resources:3.3.1:resources (default-resources) @ test-proj ---
[INFO] Copying 4 resources from src/main/resources to target/classes
[INFO] Copying 13 resources from src/main/resources to target/classes
[INFO] 
[INFO] --- compiler:3.13.0:compile (default-compile) @ test-proj ---
[INFO] Nothing to compile - all classes are up to date.
[INFO] 
[INFO] --- resources:3.3.1:testResources (default-testResources) @ test-proj ---
[INFO] Copying 11 resources from src/test/resources to target/test-classes
[INFO] 
[INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ test-proj ---
[INFO] Nothing to compile - all classes are up to date.
[INFO] 
[INFO] <<< spring-boot:3.2.4:run (default-cli) < test-compile @ test-proj <<<
[INFO] 
[INFO] 
[INFO] --- spring-boot:3.2.4:run (default-cli) @ test-proj ---
[INFO] Attaching agents: []
2024-04-10T07:46:07.585+05:30 DEBUG 138334 --- [kground-preinit] org.jboss.logging                        : Logging Provider: org.jboss.logging.Slf4jLoggerProvider found via system property 

        ██╗ ██╗   ██╗ ████████╗ ███████╗   ██████╗ ████████╗ ████████╗ ███████╗
        ██║ ██║   ██║ ╚══██╔══╝ ██╔═══██╗ ██╔════╝ ╚══██╔══╝ ██╔═════╝ ██╔═══██╗
        ██║ ████████║    ██║    ███████╔╝ ╚█████╗     ██║    ██████╗   ███████╔╝
  ██╗   ██║ ██╔═══██║    ██║    ██╔════╝   ╚═══██╗    ██║    ██╔═══╝   ██╔══██║
  ╚██████╔╝ ██║   ██║ ████████╗ ██║       ██████╔╝    ██║    ████████╗ ██║  ╚██╗
   ╚═════╝  ╚═╝   ╚═╝ ╚═══════╝ ╚═╝       ╚═════╝     ╚═╝    ╚═══════╝ ╚═╝   ╚═╝

:: JHipster 🤓  :: Running Spring Boot 3.2.4 :: Startup profile(s)  ::
:: https://www.jhipster.tech ::

2024-04-10T07:46:07.729+05:30  INFO 138334 --- [           main] com.mycompany.myapp.TestProjApp          : Starting TestProjApp using Java 17.0.10 with PID 138334 (/data2/refine_dev/test_proj/target/classes started by pragnesh in /data2/refine_dev/test_proj) 
2024-04-10T07:46:07.730+05:30 DEBUG 138334 --- [           main] com.mycompany.myapp.TestProjApp          : Running with Spring Boot v3.2.4, Spring v6.1.5 
2024-04-10T07:46:07.732+05:30  INFO 138334 --- [           main] com.mycompany.myapp.TestProjApp          : No active profile set, falling back to 2 default profiles: "dev", "api-docs" 
2024-04-10T07:46:12.503+05:30 DEBUG 138334 --- [           main] c.mycompany.myapp.config.WebConfigurer   : Registering CORS filter 
2024-04-10T07:46:12.596+05:30  INFO 138334 --- [           main] c.mycompany.myapp.config.WebConfigurer   : Web application fully configured 
2024-04-10T07:46:13.243+05:30 DEBUG 138334 --- [           main] c.m.myapp.config.AsyncConfiguration      : Creating Async Task Executor 
2024-04-10T07:46:13.481+05:30 DEBUG 138334 --- [           main] c.m.myapp.config.LiquibaseConfiguration  : Configuring Liquibase 
2024-04-10T07:46:14.770+05:30 ERROR 138334 --- [           main] com.zaxxer.hikari.pool.HikariPool        : Hikari - Exception during pool initialization. 

java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: NO)
	at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:130)
	at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
	at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815)
	at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:438)
	at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:241)
	at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:189)
	at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138)
	at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:359)
	at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:201)
	at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:470)
	at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:561)
	at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:100)
	at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
	at tech.jhipster.config.liquibase.AsyncSpringLiquibase.handleAsyncExecution(AsyncSpringLiquibase.java:106)
	at tech.jhipster.config.liquibase.AsyncSpringLiquibase.afterPropertiesSet(AsyncSpringLiquibase.java:88)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1833)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1782)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:600)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522)
	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:313)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
	at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1234)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:952)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:624)
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754)
	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:456)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:334)
	at com.mycompany.myapp.TestProjApp.main(TestProjApp.java:70)

2024-04-10T07:46:14.775+05:30 ERROR 138334 --- [           main] t.j.c.liquibase.AsyncSpringLiquibase     : Liquibase could not start correctly, your database is NOT ready: Access denied for user 'root'@'localhost' (using password: NO) 

java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: NO)
	at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:130)
	at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
	at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815)
	at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:438)
	at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:241)
	at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:189)
	at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138)
	at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:359)
	at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:201)
	at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:470)
	at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:561)
	at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:100)
	at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
	at tech.jhipster.config.liquibase.AsyncSpringLiquibase.handleAsyncExecution(AsyncSpringLiquibase.java:106)
	at tech.jhipster.config.liquibase.AsyncSpringLiquibase.afterPropertiesSet(AsyncSpringLiquibase.java:88)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1833)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1782)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:600)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522)
	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:313)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
	at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1234)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:952)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:624)
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754)
	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:456)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:334)
	at com.mycompany.myapp.TestProjApp.main(TestProjApp.java:70)

2024-04-10T07:46:16.703+05:30 ERROR 138334 --- [           main] com.zaxxer.hikari.pool.HikariPool        : Hikari - Exception during pool initialization. 

java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: NO)
	at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:130)
	at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
	at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815)
	at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:438)
	at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:241)
	at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:189)
	at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138)
	at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:359)
	at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:201)
	at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:470)
	at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:561)
	at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:100)
	at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
	at org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:122)
	at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess.obtainConnection(JdbcEnvironmentInitiator.java:428)
	at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcIsolationDelegate.delegateWork(JdbcIsolationDelegate.java:61)
	at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.getJdbcEnvironmentUsingJdbcMetadata(JdbcEnvironmentInitiator.java:276)
	at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:107)
	at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:68)
	at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.initiateService(StandardServiceRegistryImpl.java:130)
	at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:263)
	at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:238)
	at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:215)
	at org.hibernate.boot.model.relational.Database.<init>(Database.java:45)
	at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.getDatabase(InFlightMetadataCollectorImpl.java:223)
	at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.<init>(InFlightMetadataCollectorImpl.java:191)
	at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:170)
	at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.metadata(EntityManagerFactoryBuilderImpl.java:1432)
	at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1503)
	at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:75)
	at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:390)
	at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409)
	at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396)
	at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:366)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1833)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1782)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:600)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522)
	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
	at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1234)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:952)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:624)
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754)
	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:456)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:334)
	at com.mycompany.myapp.TestProjApp.main(TestProjApp.java:70)

2024-04-10T07:46:16.706+05:30  WARN 138334 --- [           main] o.h.e.j.e.i.JdbcEnvironmentInitiator     : HHH000342: Could not obtain connection to query metadata 

java.lang.NullPointerException: Cannot invoke "org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(java.sql.SQLException, String)" because the return value of "org.hibernate.resource.transaction.backend.jdbc.internal.JdbcIsolationDelegate.sqlExceptionHelper()" is null
	at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcIsolationDelegate.delegateWork(JdbcIsolationDelegate.java:116)
	at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.getJdbcEnvironmentUsingJdbcMetadata(JdbcEnvironmentInitiator.java:276)
	at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:107)
	at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:68)
	at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.initiateService(StandardServiceRegistryImpl.java:130)
	at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:263)
	at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:238)
	at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:215)
	at org.hibernate.boot.model.relational.Database.<init>(Database.java:45)
	at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.getDatabase(InFlightMetadataCollectorImpl.java:223)
	at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.<init>(InFlightMetadataCollectorImpl.java:191)
	at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:170)
	at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.metadata(EntityManagerFactoryBuilderImpl.java:1432)
	at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1503)
	at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:75)
	at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:390)
	at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409)
	at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396)
	at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:366)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1833)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1782)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:600)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522)
	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
	at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1234)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:952)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:624)
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754)
	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:456)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:334)
	at com.mycompany.myapp.TestProjApp.main(TestProjApp.java:70)

2024-04-10T07:46:16.708+05:30 ERROR 138334 --- [           main] j.LocalContainerEntityManagerFactoryBean : Failed to initialize JPA EntityManagerFactory: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment] due to: Unable to determine Dialect without JDBC metadata (please set 'jakarta.persistence.jdbc.url' for common cases or 'hibernate.dialect' when a custom Dialect implementation must be provided) 
2024-04-10T07:46:16.709+05:30  WARN 138334 --- [           main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment] due to: Unable to determine Dialect without JDBC metadata (please set 'jakarta.persistence.jdbc.url' for common cases or 'hibernate.dialect' when a custom Dialect implementation must be provided) 
2024-04-10T07:46:16.769+05:30  INFO 138334 --- [           main] .s.b.a.l.ConditionEvaluationReportLogger : 

Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled. 
2024-04-10T07:46:16.801+05:30 ERROR 138334 --- [           main] o.s.boot.SpringApplication               : Application run failed 

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment] due to: Unable to determine Dialect without JDBC metadata (please set 'jakarta.persistence.jdbc.url' for common cases or 'hibernate.dialect' when a custom Dialect implementation must be provided)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1786)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:600)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522)
	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
	at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1234)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:952)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:624)
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754)
	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:456)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:334)
	at com.mycompany.myapp.TestProjApp.main(TestProjApp.java:70)
Caused by: org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment] due to: Unable to determine Dialect without JDBC metadata (please set 'jakarta.persistence.jdbc.url' for common cases or 'hibernate.dialect' when a custom Dialect implementation must be provided)
	at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:276)
	at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:238)
	at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:215)
	at org.hibernate.boot.model.relational.Database.<init>(Database.java:45)
	at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.getDatabase(InFlightMetadataCollectorImpl.java:223)
	at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.<init>(InFlightMetadataCollectorImpl.java:191)
	at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:170)
	at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.metadata(EntityManagerFactoryBuilderImpl.java:1432)
	at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1503)
	at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:75)
	at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:390)
	at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409)
	at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396)
	at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:366)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1833)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1782)
	... 14 common frames omitted
Caused by: org.hibernate.HibernateException: Unable to determine Dialect without JDBC metadata (please set 'jakarta.persistence.jdbc.url' for common cases or 'hibernate.dialect' when a custom Dialect implementation must be provided)
	at org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl.determineDialect(DialectFactoryImpl.java:191)
	at org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl.buildDialect(DialectFactoryImpl.java:87)
	at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.getJdbcEnvironmentWithDefaults(JdbcEnvironmentInitiator.java:143)
	at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.getJdbcEnvironmentUsingJdbcMetadata(JdbcEnvironmentInitiator.java:348)
	at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:107)
	at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:68)
	at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.initiateService(StandardServiceRegistryImpl.java:130)
	at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:263)
	... 29 common frames omitted

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  46.569 s
[INFO] Finished at: 2024-04-10T07:46:16+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:3.2.4:run (default-cli) on project test-proj: Process terminated with exit code: 1 -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
%

from generator-jhipster.

pragnesh avatar pragnesh commented on May 27, 2024

it pick up prod profile if i directly use jar

% java -jar target/test-proj-0.0.1-SNAPSHOT.jar --spring.profiles.active=prod

        ██╗ ██╗   ██╗ ████████╗ ███████╗   ██████╗ ████████╗ ████████╗ ███████╗
        ██║ ██║   ██║ ╚══██╔══╝ ██╔═══██╗ ██╔════╝ ╚══██╔══╝ ██╔═════╝ ██╔═══██╗
        ██║ ████████║    ██║    ███████╔╝ ╚█████╗     ██║    ██████╗   ███████╔╝
  ██╗   ██║ ██╔═══██║    ██║    ██╔════╝   ╚═══██╗    ██║    ██╔═══╝   ██╔══██║
  ╚██████╔╝ ██║   ██║ ████████╗ ██║       ██████╔╝    ██║    ████████╗ ██║  ╚██╗
   ╚═════╝  ╚═╝   ╚═╝ ╚═══════╝ ╚═╝       ╚═════╝     ╚═╝    ╚═══════╝ ╚═╝   ╚═╝

:: JHipster 🤓  :: Running Spring Boot 3.2.4 :: Startup profile(s) prod ::
:: https://www.jhipster.tech ::

2024-04-11T20:14:07.077+05:30  INFO 60921 --- [           main] com.mycompany.myapp.TestProjApp          : Starting TestProjApp v0.0.1-SNAPSHOT using Java 17.0.10 with PID 60921 (/data2/refine_dev/test_proj/target/test-proj-0.0.1-SNAPSHOT.jar started by pragnesh in /data2/refine_dev/test_proj) 
2024-04-11T20:14:07.090+05:30  INFO 60921 --- [           main] com.mycompany.myapp.TestProjApp          : The following 1 profile is active: "prod" 
2024-04-11T20:14:14.826+05:30  INFO 60921 --- [           main] c.mycompany.myapp.config.WebConfigurer   : Web application configuration, using profiles: prod 
2024-04-11T20:14:14.831+05:30  INFO 60921 --- [           main] c.mycompany.myapp.config.WebConfigurer   : Web application fully configured 

from generator-jhipster.

pragnesh avatar pragnesh commented on May 27, 2024

it seems this is expected behaviour spring-projects/spring-boot#38932

Below command is working for me

./mvnw -Dspring-boot.run.profiles=prod,api-docs

from generator-jhipster.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.