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

EntityCallback.kt was not found #371

Open
1 task done
zsivjos opened this issue Mar 1, 2023 · 0 comments
Open
1 task done

EntityCallback.kt was not found #371

zsivjos opened this issue Mar 1, 2023 · 0 comments

Comments

@zsivjos
Copy link

zsivjos commented Mar 1, 2023

Overview of the issue

ERROR! Template file src/main/kotlin/package/domain/EntityCallback.kt was not found

Complete log:

An error occured while running jhipster-kotlin:entity-server#writeServerFiles
Error running generator entities: Error: Template file src/main/kotlin/package/domain/EntityCallback.kt was not found at /Users/xyz/code/UP2PAY/demo/node_modules/generator-jhipster-kotlin/generators/entity-server/templates/reactive,/Users/xyz/code/UP2PAY/demo/node_modules/generator-jhipster-kotlin/generators/entity-server/templates,/Users/xyz/code/UP2PAY/demo/node_modules/generator-jhipster/generators/entity-server/templates/reactive,/Users/xyz/code/UP2PAY/demo/node_modules/generator-jhipster/generators/entity-server/templates
Error: Template file src/main/kotlin/package/domain/EntityCallback.kt was not found at /Users/xyz/code/UP2PAY/demo/node_modules/generator-jhipster-kotlin/generators/entity-server/templates/reactive,/Users/xyz/code/UP2PAY/demo/node_modules/generator-jhipster-kotlin/generators/entity-server/templates,/Users/xyz/code/UP2PAY/demo/node_modules/generator-jhipster/generators/entity-server/templates/reactive,/Users/xyz/code/UP2PAY/demo/node_modules/generator-jhipster/generators/entity-server/templates
at /Users/xyz/code/UP2PAY/demo/node_modules/generator-jhipster/generators/generator-base.js:2355:25
at Array.map ()
at /Users/xyz/code/UP2PAY/demo/node_modules/generator-jhipster/generators/generator-base.js:2285:42
at Array.map ()
at /Users/xyz/code/UP2PAY/demo/node_modules/generator-jhipster/generators/generator-base.js:2282:29
at Array.map ()
at module.exports.writeFilesToDisk (/Users/xyz/code/UP2PAY/demo/node_modules/generator-jhipster/generators/generator-base.js:2281:45)
at module.exports.writeServerFiles (/Users/xyz/code/UP2PAY/demo/node_modules/generator-jhipster-kotlin/generators/entity-server/files.js:54:29)
at Object. (/Users/xyz/code/UP2PAY/demo/node_modules/yeoman-generator/lib/index.js:1091:23)
at /Users/xyz/code/UP2PAY/demo/node_modules/run-async/index.js:49:25

Motivation for or Use Case

Generating code from a JDL file

Reproduce the error

khipster import-jdl simple.jh
simple.jh.zip

Related issues

Link to PR (if any)

KHipster Version(s)

1.16.0 (jHipster: 7.9.3)

  • Checking this box is mandatory (this is just to show you read everything)
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