Hipster stack for Java developers. Spring Boot + Angular in one handy generator.
Hi
I want to remove core, admin components of the jhipster frontend project any suggestions or articles for the same ?
Hi @aditya777hp, I you just want to suppress it from the front end, I would recommend to simply delete/comment out the admin options from the core / jhi-navbar (id="admin-menu"). This way you keep the possibility to re-implement those functions if needed.
@samuel4Jesus "But on Angular I don’t want attributes 3 & 4 to be created." if you mean by that, that you do not want them to appear on your frontend. you can manually hide them. Webapp / app entities. There is even a video on this subject https://www.youtube.com/watch?v=wNNCrrc5x4o
Have fun!
Thanks ... I went through the video and it shows how to hide column on the table.
But on my case I wish to restrict attributes from backend and frontend as well.
But it those restricted columns will be set manually on the service implementation class.
I hope am clear now.
hello, I needed help debugging jhipster monolith angular app with vscode. It runs fine from command line. However in vscode I have the spring boot dashboard which recognizes the project and gives me option to run/debug. When I run/debug I get the following error *
APPLICATION FAILED TO START
Description:
Failed to bind properties under '' to com.zaxxer.hikari.HikariDataSource:
Property: driverclassname
Value: org.h2.Driver
Origin: "driverClassName" from property source "source"
Reason: Failed to load driver class org.h2.Driver in either of HikariConfig class loader or Thread context classloader
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: essai-1@0.0.1-SNAPSHOT
npm ERR! Found: axios@0.19.2
npm ERR! node_modules/axios
npm ERR! axios@"0.19.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer axios@"^0.18.0" from react-jhipster@0.11.0
npm ERR! node_modules/react-jhipster
npm ERR! react-jhipster@"0.11.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /Users/pierre/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/pierre/.npm/_logs/2020-12-18T17_28_24_727Z-debug.log
Hi guys, I'm facing weird issue:
I have my Angular UI successfuly building & working via npm start
, but it does not seem to work when running via mvnw
.
When running ./mvnw
, ui does not start (standard error UI is shown, suggesting to rebuild ui part via npm OR mvnw).
I see the same error when I build the app as jar and simply run it (java -jar ...).
During the maven build, UI build is also seem to happen & I see some UI build artifacts in the jar itself (/classes/static/app/js-bundles, index.html, etc).
I've tried rebuilding the project / reinstalling ui deps / building ui directly via npm / etc.
What am I missing here?
Hello everyone , how can i perform a simple search query using elasticsearch and angular (jhipster application) i tried this but not worked :
this.someService.query({'id.equals':6}).subscribe(
(res: HttpResponse<ISomeObject[]>) => this.onSuccess(res.body, res.headers, pageToLoad, !dontNavigate),
() => this.onError()
);
it should return only one Object that have id == 6 but it return me all the objects