jhipster

jhipster - error executing task :bower

╄→尐↘猪︶ㄣ 提交于 2019-12-24 02:49:08
问题 I am having an issue building my app based off jhipster, using gradle. It fails on task :bower. The exact error I get is: ./gradlew bower --debug 20:23:46.154 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter] Executing actions for task ':bower'. 20:23:46.174 [INFO] [org.gradle.process.internal.DefaultExecHandle] Starting process 'command 'node''. Working directory: /workplace/zupus Command: node /workplace/zupus/node_modules/bower/bin/bower install 20:23:46.174

Change jHipster login authentication page

*爱你&永不变心* 提交于 2019-12-24 02:27:08
问题 I wish to give login page to authenticate the user and then redirect it to jHipster created Home page. The login page is the first thing the user should see { "generator-jhipster": { "jhipsterVersion": "3.0.0", "baseName": "vconnect", "packageName": "com.zenfact.vconnect", "packageFolder": "com/zenfact/vconnect", "serverPort": "8080", "authenticationType": "session", "hibernateCache": "ehcache", "clusteredHttpSession": "no", "websocket": "no", "databaseType": "sql", "devDatabaseType":

JHipster Entity Generator crahing

守給你的承諾、 提交于 2019-12-24 01:18:03
问题 I have my first JHIpster app running in Docker. Would now like to create an Entity. Running yo jhipster:entity event gives the error below. I dont know enough to even sart de-bugging? Can I refresh something? jhipster@fbc619c7539d:~/app$ yo jhipster:entity event ? ========================================================================== We're constantly looking for ways to make yo better! May we anonymously report usage statistics to improve the tool over time? More info: https://github.com

JHipster Eclipse project running out of memory in “main”

走远了吗. 提交于 2019-12-24 00:55:50
问题 I am building up a baseline JHipster project with no bells and whistles involved (no clustering, etc.). I am following the exact tutorial steps using my standard Node-enabled (of course) command line, and am then importing the project into Eclipse as a Maven Project. Everything looks like it should be working fine based on reviewing the project, except when I try to run it on the server or build it using the mvn command line... Error Message INFO: Starting Servlet Engine: Apache Tomcat/7.0.12

Disable Liquibase temporarily in JHipster 2.26

耗尽温柔 提交于 2019-12-23 11:46:03
问题 I am using JHipster as a tool to teach Software Engineering. I would like to teach JHipster incrementally to soften the learning curve . In this regard, please, I'd like to know the smartest way to temporarily disable Liquibase . I prefer to use the JPA2 DDL auto functionality at the begining of the Academic course (https://docs.spring.io/spring-boot/docs/current/reference/html/howto-database-initialization.html#howto-initialize-a-database-using-jpa) . Thank you very much for this awesome

How to add external javascript library in a gateway project

不问归期 提交于 2019-12-23 09:37:59
问题 I'm trying to add Simpl5 javascript library to my gateway unsuccessfully. I've put SIPml-api.js and SIPml.js in webapp/content/scripts folder. In .angular-cli.json I've update scripts array like this : "scripts": [ "content/scripts/SIPml-api.js", "content/scripts/SIPml.js" ] I've then try to call SIPml in component like this : import { Component, OnInit } from '@angular/core'; declare var SIPml: any; . ngOnInit() { SIPml.setDebugLevel((window.localStorage && window.localStorage.getItem('org

Email service in Jhipster

喜夏-厌秋 提交于 2019-12-23 05:26:09
问题 I'm new to Jhispter and I created an application using the yeoman generator for Jhipster. When I logged as an admin to this application to check the Health checks section I noticed that email service is down and the details says this : com.sun.mail.util.MailConnectException: Couldn't connect to host, port: localhost, 25; timeout -1 How can I solve this problem ? 回答1: You must fill properties in application-dev.yml or application-prod.yml with your real account data (eg gmail account) mail:

Deploying webapp generated using Jhipster in amazon web services (AWS)

不想你离开。 提交于 2019-12-23 04:22:58
问题 I have used Jhipster to generate a web app and i worked on top of it to redesign the web app as per my requirements. Then i generated war using the command as below: mvnw package -Pprod -DskipTests Now i want to deploy that web app to Amazon Web Services . I have tried all the ways jhipster suggested me to do. 1. Direct AWS 2. Boxfuse I have tried uploading the generated war directly to S3 bucket also, but uploading fails. Using boxfuse , i have configured everything as per documentation and

How can I setup my environment to use h2 for tests and mysql for development?

旧时模样 提交于 2019-12-23 04:08:58
问题 I'm using the default configuration for the yo jhipster generator except that I'm using mysql as my "dev" database. When I run mvn test my tests succeed with no failures. However, I found that if I ran tests a second time, the suite would fail since it would run against the "dev" database...that wasn't 'rolled back' or 'reset' after the previous test run. I would rather have expected it to run against an in-memory h2 database as configured in src/test/resources/config/application.yml that

Using Components from Another Module on a Angular/JHipster Application

末鹿安然 提交于 2019-12-23 03:52:25
问题 I'm trying to use a component from another module on an Angular 5 application generated by jhipster . When a module that contains the component that I want to use is imported the route of the module where the importing occurred is overwritten by the route of the imported module . phone.module.ts exports PhoneComponent . contact-info.module.ts import phone.module.ts . After that, every route declared in contact-info.route.ts starts to render the components declared in the phone.module.ts . It