The goal spring-boot:run fails due to classpath being too large in a jhUAA project with too many dependencies selected on Windows (using Maven).
Seems to be the same issue as #4323 except for Maven. For Gradle it was fixed with #4324.
Generated microservice jhUAA application cannot be run on Windows.
Generate a microservice UAA application on Windows with preferences of following .yo-rc.json file
Seems like #4323 is the same issue just for gradle
Perhaps it can be fixed in the same way as #4323 was fixed (see #4324)
5.7.0
jhipster info
INFO! Using JHipster version installed locally in current project's node_modules
INFO! Executing jhipster:info
INFO! Options: from-cli: true
Welcome to the JHipster Information Sub-Generator
[email protected] C:\_CODE_\gitlab\socialref\jhuaa
`-- [email protected]
##### **JHipster configuration, a `.yo-rc.json` file generated in the root folder**
{ "generator-jhipster": { "promptValues": { "packageName": "com.socialreferee.rugby", "nativeLanguage": "en" }, "jhipsterVersion": "5.7.0", "applicationType": "uaa", "baseName": "jhuaa", "packageName": "com.socialreferee.rugby", "packageFolder": "com/socialreferee/rugby", "serverPort": "9999", "authenticationType": "uaa", "cacheProvider": "hazelcast", "enableHibernateCache": true, "websocket": false, "databaseType": "sql", "devDatabaseType": "h2Disk", "prodDatabaseType": "mariadb", "searchEngine": "elasticsearch", "messageBroker": "kafka", "serviceDiscoveryType": "eureka", "buildTool": "maven", "enableSwaggerCodegen": false, "jwtSecretKey": "bXktc2VjcmV0LXRva2VuLXRvLWNoYW5nZS1pbi1wcm9kdWN0aW9uLWFuZC10by1rZWVwLWluLWEtc2VjdXJlLXBsYWNl", "testFrameworks": [], "jhiPrefix": "jhi", "otherModules": [], "enableTranslation": true, "clientPackageManager": "npm", "nativeLanguage": "en", "languages": [ "en" ], "skipClient": true } }
entityName.json
files generated in the .jhipster
directory
JDL entity definitions
java version "1.8.0_171"
Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)
git version 2.10.2.windows.1
node: v11.2.0
npm: 6.4.1
yarn: 1.12.3
INFO! Congratulations, JHipster execution is complete!
entityName.json
files generated in the .jhipster
directoryNone
Chrome and Windows 10
Just change the launch configuration to avoid using the default shorten line
I do not know if this could be take as a JHipster error or not.
It's a problem related to Windows.
So if you have a fix for Maven, you're welcome to PR. Otherwise, I'm not sure we can do something here.
I'm closing this. But don't hesitate to PR if you find the solution.
Most helpful comment
Just change the launch configuration to avoid using the default shorten line
I do not know if this could be take as a JHipster error or not.