jhipster

Use of bootstrap theme on Jhispter?

≡放荡痞女 提交于 2019-12-11 05:08:30
问题 I'm not a pro with jhipster and web application programmation. So maybe my question is stupid, I would like to know if it's possible to use a Bootstrap theme like the one you can find here : link for Jhipster's homepage? If yes what should I change to update the CSS in Jhipster and how should I adapt the JavaScript files? If it's not possible with Bootstrap do you have something similar that can be used on Jhipster? Here is my Jhipster version: { "generator-jhipster": { "promptValues": {

“None of the configured nodes are available” - A Run Time Erro on Cloud Foundry

有些话、适合烂在心里 提交于 2019-12-11 04:53:46
问题 A JHipster generated app is running fine on my local box. It doesn't run properly on CF. Here are some related log messages. 2017-07-18T15:54:52.925-07:00 [RTR/4] [OUT] abc.cfapps.io - [2017-07-18T22:54:52.660+0000] "POST /api/suppliers?cacheBuster=1500418492191 HTTP/1.1" 500 1973 103 "https://abc.cfapps.io/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/58.0.3029.110 Chrome/58.0.3029.110 Safari/537.36" "10.10.66.225:14527" "10.10.149.25:61049" x

Why so many validation errors on a jhipster built app when importing into STS?

佐手、 提交于 2019-12-11 04:37:31
问题 I was looking at What is the correct Eclipse setup for JHipster? and decided I have a similar question with enough differences to warrant posting a separate question. I am able to build and run a jhipster app using yo that seems to run ok (I choose defaults with the exception of the database - which is MySQL in both local and prod, plus websockets, and "y" to the CSS package). I am then able to import the maven project into STS 3.5 and run it ok from there as well. The only thing I'd like to

JHipster After creating sample entity nothing is shown in the browser

我是研究僧i 提交于 2019-12-11 04:16:42
问题 I have created a sample application with a very simple entity "stock" with an String id. All pre-build and unit tests run without errors, but when I open the generated application, I can not see the dialog allowing me to create or see "stocks". Just the header and footer. The only warning I see is this one: I'm all done. Running bower install & npm install for you to install the required dependencies. If this fails, try running the command yourself. 'bower' is not recognized as an internal or

How to access Spring REST API in JHipster with Spring RestTemplate

十年热恋 提交于 2019-12-11 04:06:22
问题 I have set up JHipster like described on its homepage with some entities. Frontend with AngularJS works great and also the API page, lets me test my services as expected. Now I am trying to write a REST-Client using Spring's RestTemplate like this: public List<SomeEntity> getAllEntities(){ URI uri = URI.create("http://localhost:8080/api/entities"); HttpHeaders httpHeaders = this.createHeaders("admin", "admin") ResponseEntity<SomeEntity[]> responseEntity = restTemplate.exchange(uri, HttpMethod

ng serve fails - webpack fails to compile - ERROR in ./src/main/webapp/manifest.webapp

亡梦爱人 提交于 2019-12-11 03:42:17
问题 When I try running ng serve I get the following ERROR in ./src/main/webapp/manifest.webapp Module parse failed: /home/fergal/dev/jhipster/sam/git/sam/src/main/webapp/manifest.webapp Unexpected token (2:8) You may need an appropriate loader to handle this file type. | { | "name": "Sam", | "short_name": "Sam", | "icons": [ @ ./src/main/webapp/app/polyfills.ts 6:0-29 @ multi ./src/main/webapp/app/polyfills.ts webpack: Failed to compile. webpack: Compiling... See below for the contents of my

Jhipster - 404 error on app.js when running in prod profile

爷,独闯天下 提交于 2019-12-11 03:25:03
问题 I have a problem running my jhipster application in prod. After the deployment of prod war file the site is unable to load due to a 404 not found on /app/app.js However vendor js and css are correctly injected. Not sure what's causing this issue. Error message : Failed to load resource: the server responded with a status of 404 (Not Found) generated.js:19530 Uncaught TypeError: Cannot read property 'module' of undefined(…) http://localhost:9080/app/app.js Failed to load resource: the server

Jhipster Release 1.6.0 - datepicker from create/edit modal is not working

你。 提交于 2019-12-11 03:13:41
问题 I've upgraded jhipster from release 1.4.0 to 1.6.0 and I found that the datepicker isn't working anymore. Maybe is not a big deal but I can't see why the datepicker is gone. The forms in both releases are identical. Could anyone using jhipster answer this?? Thanks in advance :-) 来源: https://stackoverflow.com/questions/26734609/jhipster-release-1-6-0-datepicker-from-create-edit-modal-is-not-working

JPA Static Metamodel not recognized by IntelliJ

旧街凉风 提交于 2019-12-11 03:02:39
问题 I generated the application with JHipster with Gradle as the build tool. When I created entity I added filtering support, which generated JPA static metamodel. But IntelliJ doesn't recognize the metamodels. I have enabled the annotation processor settings on IntelliJ but it doesn't seem to work. What settings do I have to change for IntelliJ to recognize the JPA static metamodels? 回答1: To get IntelliJ IDEA to recognize the generated classes, I had to add this line on build.gradle sourceSets {

Automatically generated code fails CheckStyle standards (jHipster)

和自甴很熟 提交于 2019-12-11 02:58:30
问题 I've started working with jHipster on a recent project which is a tool you can use to autogenerate the full stack of a REST api application using a Spring Boot back end. Which should save a great deal of time writing boilerplate code... Unfortunately, at my work we have coding standards to adhere to in the form of a set of CheckStyle rules. Any code that does not adhere to these rules causes the build to fail. What I am experiencing at the moment is that this autogenerated code is failing the