generator-jhipster: DEBUG [ restartedMain] Validator : ERROR [ModelSpecification.spec] At least one type of specification is required
Overview of the issue
when start up get several debug error log
2021-02-04 08:47:51.637 DEBUG 10814 — [ restartedMain] Validator : ERROR [ModelSpecification.spec] At least one type of specification is required
Motivation for or Use Case
Reproduce the error
Related issues
Suggest a Fix
JHipster Version(s)
latest 7.0.0 Beta.1
JHipster configuration
Entity configuration(s) entityName.json files generated in the .jhipster directory
Browsers and Operating System
- Checking this box is mandatory (this is just to show you read everything)
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 17 (8 by maintainers)
Commits related to this issue
- supress 'Validato' logs on startup close #13835 — committed to atomfrede/generator-jhipster by atomfrede 3 years ago
- supress noisy logs on startup in dev profile (#15004) * supress 'Validato' logs on startup close #13835 * supress Mappings log closes #14444 — committed to jhipster/generator-jhipster by atomfrede 3 years ago
@atomfrede : I already saw these warnings. It’s easy to reproduce, just use
jhipster --defaultsand start the applicationHere the configuration:
JHipster Version(s)
JHipster configuration, a
.yo-rc.jsonfile generated in the root folder.yo-rc.json file
{ "generator-jhipster": { "baseName": "jhipster", "buildTool": "maven", "databaseType": "sql", "devDatabaseType": "h2Disk", "cacheProvider": "ehcache", "enableHibernateCache": true, "enableSwaggerCodegen": false, "enableTranslation": true, "jhiPrefix": "jhi", "languages": ["en", "fr"], "messageBroker": false, "prodDatabaseType": "postgresql", "searchEngine": false, "skipClient": false, "testFrameworks": [], "websocket": false, "skipServer": false, "packageFolder": "com/mycompany/myapp", "packageName": "com.mycompany.myapp", "clientPackageManager": "npm", "dtoSuffix": "DTO", "entitySuffix": "", "reactive": false, "applicationType": "monolith", "skipUserManagement": false, "skipCheckLengthOfIdentifier": false, "skipFakeData": false, "blueprints": [], "otherModules": [], "pages": [], "serverPort": "8080", "authenticationType": "jwt", "serviceDiscoveryType": false, "clientFramework": "angularX", "clientTheme": "none", "clientThemeVariant": "", "withAdminUi": true, "nativeLanguage": "en", "jhipsterVersion": "7.0.0-beta.1", "creationTimestamp": 1613394227416, "jwtSecretKey": "YourJWTSecretKeyWasReplacedByThisMeaninglessTextByTheJHipsterInfoCommandForObviousSecurityReasons" } }JDL for the Entity configuration(s)
entityName.jsonfiles generated in the.jhipsterdirectoryJDL entity definitions
Environment and Tools
openjdk version “11.0.10” 2021-01-19 OpenJDK Runtime Environment (build 11.0.10+9-Ubuntu-0ubuntu1.18.04) OpenJDK 64-Bit Server VM (build 11.0.10+9-Ubuntu-0ubuntu1.18.04, mixed mode, sharing)
git version 2.30.0
node: v14.15.4
npm: 6.14.10
yeoman: 3.1.1
Docker version 19.03.8, build afacb8b7f0
docker-compose version 1.27.3, build 4092ae5d
Here the stacktrace:
I get this on 7.0.1 as well
Go to src\main\resources\logback-spring.xml and add this lines
The warning occurs on:
/management/*)I don’t know if some Springfox annotation could solve the warning for the first 2 points, but surely we cannot do much on actuator endpoints.
I agree with @jidma, let’s change the logger level of “Validator” to INFO. But let’s also specify in a comment that that line is related to springfox, the logger name does not help.