Generator-jhipster: mapstruct annotation processor did not generate mappers Implimentation

Created on 26 Mar 2016  路  2Comments  路  Source: jhipster/generator-jhipster

JHipster Version(s)

generator-jhipster 2.27.2

JHipster configuration, a .yo-rc.json file generated in the root folder
{
  "generator-jhipster": {
    "baseName": "jhipster",
    "packageName": "com.capvalue.recruite",
    "packageFolder": "com/capvalue/recruite",
    "authenticationType": "session",
    "hibernateCache": "ehcache",
    "clusteredHttpSession": "no",
    "websocket": "no",
    "databaseType": "sql",
    "devDatabaseType": "mysql",
    "prodDatabaseType": "mysql",
    "searchEngine": "elasticsearch",
    "useSass": false,
    "buildTool": "maven",
    "frontendBuilder": "grunt",
    "enableTranslation": true,
    "enableSocialSignIn": false,
    "rememberMeKey": "f70fd101e4b03583ba48c96a91e0af7ab6a6c92e",
    "testFrameworks": [
      "gatling"
    ]
  }
}
Entity configuration(s) entityName.json files generated in the .jhipster directory

*_Author.json *_

{
    "relationships": [
        {
            "relationshipId": 1,
            "relationshipName": "book",
            "otherEntityName": "book",
            "relationshipType": "one-to-many",
            "otherEntityRelationshipName": "author"
        }
    ],
    "fields": [
        {
            "fieldId": 1,
            "fieldName": "name",
            "fieldType": "String",
            "fieldValidateRules": [
                "required"
            ]
        },
        {
            "fieldId": 2,
            "fieldName": "birthday",
            "fieldType": "LocalDate"
        }
    ],
    "changelogDate": "20160326163433",
    "dto": "mapstruct",
    "service": "serviceImpl",
    "pagination": "pager"
}

Book.json

{
    "relationships": [
        {
            "relationshipId": 1,
            "relationshipName": "author",
            "otherEntityName": "author",
            "relationshipType": "many-to-one",
            "otherEntityField": "name"
        }
    ],
    "fields": [
        {
            "fieldId": 1,
            "fieldName": "title",
            "fieldType": "String",
            "fieldValidateRules": [
                "required"
            ]
        },
        {
            "fieldId": 2,
            "fieldName": "price",
            "fieldType": "BigDecimal"
        }
    ],
    "changelogDate": "20160326164101",
    "dto": "mapstruct",
    "service": "serviceImpl",
    "pagination": "pager"
}
Browsers and Operating System

OS : Win 10, Browser : Frirefox 45

Related issues

https://github.com/jhipster/generator-jhipster/issues/2399

All 2 comments

Closing as cross posting is not cool.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pascalgrimaud picture pascalgrimaud  路  3Comments

lsadehaan picture lsadehaan  路  3Comments

dronavallisaikrishna picture dronavallisaikrishna  路  3Comments

edvjacek picture edvjacek  路  3Comments

RizziCR picture RizziCR  路  3Comments