vendredi 14 novembre 2014

JHipster Entity Creation issue


Vote count:

0




I am running into a strange problem while creating entity. Here is my log:



nodejs@devpc jhipster]$ yo jhipster:entity author
The entity author is being created.
Generating field #1
? Do you want to add a field to your entity? Yes
? What is the name of your field? name
? What is the type of your field? String
===========Author==============
name (String)
Generating field #2
? Do you want to add a field to your entity? No
===========Author==============
name (String)
Generating relationships with other entities
? Do you want to add a relationship to another entity? No
===========Author==============
name (String)
-------------------
Everything is configured, generating the entity...
conflict src/main/java/com/callippus/doi/domain/Author.java
? Overwrite src/main/java/com/callippus/doi/domain/Author.java? overwrite this and all others
force src/main/java/com/callippus/doi/domain/Author.java
identical src/main/java/com/callippus/doi/repository/AuthorRepository.java
identical src/main/java/com/callippus/doi/web/rest/AuthorResource.java
create src/main/resources/config/liquibase/changelog/20141114160210_added_entity_Author.xml
force src/main/webapp/views/authors.html
force src/main/webapp/scripts/author/router_author.js
force src/main/webapp/scripts/author/controller_author.js
identical src/main/webapp/scripts/author/service_author.js
force src/test/java/com/callippus/doi/web/rest/AuthorResourceTest.java


Everything looks normal, but when I look in my <Project Root>/src/...., I don't see any of these files. After lots of search, I could locate the files in $HOME folder ($HOME/src/...).


I then moved all the files into <Project Root>/src/... and ran mvn spring-boot:run, but can't see the entity in the UI. Also, entity is not created in DB. What am I doing wrong?



asked 18 secs ago







JHipster Entity Creation issue

Aucun commentaire:

Enregistrer un commentaire