jhipster

How to enable translatation support after creating JHipster Application

谁说我不能喝 提交于 2019-12-24 12:51:49
问题 I created JHipsterApplication - at the time of the prompt "Would you like to enable translation support with Angular Translate? (Y/n)" - I provided "n" . Now application is created and I want to add translation support to my application. Is there anyway to add translation support after the application is created or enable something which is disabled at the time of creating the application? I tried "bower install angular translate" but it still says Translation is disabled for this project.

Error creating bean with name 'mongobee' defined in class path resource

帅比萌擦擦* 提交于 2019-12-24 10:36:58
问题 I have no Idea why this error occurs, I did not do anything, created a new vagrant machine with latest version of jhipster created new microservice and started the application, i get the below mentioned error, any help? 2017-07-20 07:36:58,144 ERROR restartedMain o.s.b.SpringApplication:771 - Application startup failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mongobee' defined in class path resource [com/nearbuy/ngservice/config

Add more choices into Microservice Reactive Blueprint

风格不统一 提交于 2019-12-24 08:31:16
问题 when I create one reactive microservice, I need to add another database choise (like cassandra) but I can't customize blueprint for this specific question (I see only MongoDb right now) How can I do it? Any suggestion? 回答1: The experimental Reactive option only has support for MongoDB at this time (v5.3.1). You can track the progress in the related issue, "Reactive/Webflux support" 来源: https://stackoverflow.com/questions/52230223/add-more-choices-into-microservice-reactive-blueprint

Cannot upgrade to jhipster 5.3.4

孤者浪人 提交于 2019-12-24 07:58:29
问题 After "yarn global upgrade generator-jhipster", the version is 4.14.5 instead of latest version 5.3.4. why? My node version is 8.11.1, yarn is 1.3.2. 回答1: 2 possibilities: when you run jhipster --version it prints local version (from local node_modules folder) if your are in a generated project, this enables projects to isolate from each others. In this case you must upgrade the project with jhipster upgrade when you are not in a generated project, jhipster --version prints globally installed

Error when use JDL in Jhipster

女生的网名这么多〃 提交于 2019-12-24 06:35:09
问题 I have a problem when use JDL in Jhipster. I design my entities with JDL-Studio, this is jhipster-jdl.jh file after created: entity Member { fullName String required maxlength(100), birthDay LocalDate, address String maxlength(100), phone String maxlength(12), avatar String maxlength(100), aboutMe String maxlength(5000), systemStatus SystemStatus required, star Integer required } entity RealEstate { useFor UseFor required, location String maxlength(100), address String required maxlength(100)

JHipster: blank screen every upgrade

三世轮回 提交于 2019-12-24 05:54:14
问题 I have a recurring problem everytime jhipster upgraded its version. My application suddenly goes blank as empty white screen at http://localhost:8080. And I did not re-generate or re-run yo jhipster at that time. The compilation went ok without error messages. I solved it ( and it's very annoying ) by running manual upgrade of jhipster and re-generate everything again. The annoying part is that I need to look at the diff at each file because I have made some modifications to some of the

Only generate one war during package

让人想犯罪 __ 提交于 2019-12-24 05:05:18
问题 By default JHipster generate 2 wars during the package phase (your_project_version.war & your_project_version.war.original). The first one is the executable jar and the second is the war you can use in a servlet container. Is there a way to only generate the 'original' war. The executable is not required for my project and I would like to deploy the war to Nexus. 回答1: jhipster generated project will make use of spring-boot, and in particular of the spring-boot-maven-plugin, which by default

Only generate one war during package

ⅰ亾dé卋堺 提交于 2019-12-24 05:05:08
问题 By default JHipster generate 2 wars during the package phase (your_project_version.war & your_project_version.war.original). The first one is the executable jar and the second is the war you can use in a servlet container. Is there a way to only generate the 'original' war. The executable is not required for my project and I would like to deploy the war to Nexus. 回答1: jhipster generated project will make use of spring-boot, and in particular of the spring-boot-maven-plugin, which by default

JHipster “URL must start with 'jdbc'” error on Heroku

折月煮酒 提交于 2019-12-24 05:05:08
问题 My application was running fine locally but when I deployed to heroku, I got application error. I tried several times the same thing happening. I checked database connection and everything is fine. These are my logs 2017-06-13T09:20:30.840039+00:00 app[web.1]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2017-06-13T09:20:30.840041+00:00 app[web.1]: at org.springframework.boot.loader.Launcher.launch(Launcher.java:87) 2017-06-13T09:20:30.840040+00:00

JHipster “URL must start with 'jdbc'” error on Heroku

孤街浪徒 提交于 2019-12-24 05:05:07
问题 My application was running fine locally but when I deployed to heroku, I got application error. I tried several times the same thing happening. I checked database connection and everything is fine. These are my logs 2017-06-13T09:20:30.840039+00:00 app[web.1]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2017-06-13T09:20:30.840041+00:00 app[web.1]: at org.springframework.boot.loader.Launcher.launch(Launcher.java:87) 2017-06-13T09:20:30.840040+00:00