Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
zackzack02
@zackzack02
Hello all,
How to use Jhipster k8s to configure and deploy on a google kubernetes engine which would have JDK installed instead of JRE (the app would need to compile some Java classes into bytecode on the fly, so javac needed at runtime).
Neil Crow
@crowne

Hi, I've tried to make a fix to generator-jhipster following the contribution guidelines, but I'm unable to test.
I ran >npm link in the project after making the change.
Now I want to create a new project, but whenever I run jhipster I get the following error:

internal/modules/cjs/loader.js:905
throw err;
^

Error: Cannot find module 'semver'
Require stack:

  • E:\opensrc\generator-jhipster\cli\jhipster.js
    ←[90m at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)←[39m
    ←[90m at Function.Module._load (internal/modules/cjs/loader.js:746:27)←[39m
    ←[90m at Module.require (internal/modules/cjs/loader.js:974:19)←[39m
    ←[90m at require (internal/modules/cjs/helpers.js:93:18)←[39m
    at Object.<anonymous> (E:\opensrc\generator-jhipster\cli\jhipster.js:20:16)
    ←[90m at Module._compile (internal/modules/cjs/loader.js:1085:14)←[39m
    ←[90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)←[39m
    ←[90m at Module.load (internal/modules/cjs/loader.js:950:32)←[39m
    ←[90m at Function.Module._load (internal/modules/cjs/loader.js:790:12)←[39m
    ←[90m at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)←[39m {
    code: ←[32m'MODULE_NOT_FOUND'←[39m,
    requireStack: [ ←[32m'E:\opensrc\generator-jhipster\cli\jhipster.js'←[39m ]
    }
V W
@vw98075
I try to look deep into the front-end routing paths. Can someone tell me how the URL /admin/user-management in the front-end admin section is converted to users?sort=id,asc$page=0&size=20
olegkuzminvic
@olegkuzminvic

Hi all together,

i have a question about JHipster filtering entities feature. I have a simple one-to-many relationship between entities Parent and Child, thus entity Parent can have relation with multiple Child entities. I generated using JDL with a line "filter Parent" in my jdl file and reimported the definitions. A new service named as ParentQueryService and an ParentCriteria was generated. Child entity has field "name". So if i want to do search of Parent via Child.name can i do that using JHipster QueryService without customisation of generated code? I can see that jhipster supports join operation with another entities by generated Criteria API. I think that a buildReferringEntitySpecification in QueryService was a solution for this purpose, but how can this be triggered by generation step?

And how is it possible to adjust field naming and types in generated Criteria class? Spring will convert the request parameters into the fields of the EntityCriteria class. What shoud i do if i need an extra field, for example query:
{'childName.contains': childName} in automatically generated ParentCriteria?

I would appreciate your advice :)

ieka95 ☆ CF Mini JB 2k19
@ieka95_twitter
Hello, may i ask where can i find the file webpack.common.js in gateway project generated in Jhipster v7.0.0? I'm trying to use this guide to enable IE11 support on this link, https://www.jhipster.tech/tips/028_tip_ie_support.html but i can't locate the file.
mai1015
@mai1015
hello
any one know what is the updateLinkTable in webflux template?
cuz it is like delete all related data
when saving it
in entityManager
mai1015
@mai1015
it is becuase when using partial update and it delete all related becuase the relation is not fetch by generated code. any idea to fix it or do we write our code to fetch all relationship by default?
Peter E Olsen III
@hepaestus
Can anyone point me to a how to on how mappers work for DTOs? I want to customize them but I am not sure how they work yet.
Michael Nguyen
@mtn217
What's the best way to add a new field to one of my entities without updating the liquibase changelog where the entity was created? I'm running into the issue where the entity sub-generator is modifying the liquibase changelog where the entity was created instead of generating a new liquibase changelog to add a column to my entity's table. This is causing checksums issues with my MySQL database as the liquibase changelog files are changing instead of creating new changelog files.
Alejandro Matos
@amatosg
@hepaestus maybe you could post an example of what you want to do. I could be able to help you with that
@mtn217 you should undo the changes to that particular changelog and then run mvn liquibase:diff which will create a new changelog file, then you have to add that file to master.xml
Jesus Lencina
@yisudev
Hey there! I'm having an issue while trying to run on elementary OS
ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project hrms: Compilation failure
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
I checked the "javac -version" command, and I do have a JDK installed
Any idea on how to fix this? Thanks
Parasuram
@TLN_Parasuram_twitter
is the tip mentioned here Using Bootswatch themes with theme switcher is updated one ?! , i am unable to find path webapp/app/components/bootswatch in generated project.
Choubani Amir
@amirensit

Hello.

Any idea what is the difference between jhipster module and jhipster blueprint ?

damiang19
@damiang19
Hello.
I have problem with regenerating entity. I use command "jhipster entity entity_name". And this command in other project always regenerated signle entity. But in actuall project this command regenerate whole project .
Regards, Damian
Sanjeev
@Sanjeevs1995

Hi Team

I would like to create an application with react as front end which connects microservices API.I know jhipster generates CRUD pages for both front end and back end if we choose monolothic application, But i would like to know is there any way to quickly generate CRUD pages for both react front end and microservice as a backend?

Ibrahim5560
@Ibrahim5560
Parameter 0 of constructor in org.zalando.problem.spring.web.advice.security.SecurityProblemSupport required a bean of type 'org.springframework.web.servlet.HandlerExceptionResolver' that could not be found.
Alex
@allixus

Hey there!
I'm in the process of upgrading our JHipster-app from 4.13.0 to 5.0.2. I'm having trouble with configuring the spring-boot application (due to the spring-boot update from 1.5.x to 2.0.3.RELEASE).
Here's the last line of the stacktrace:
nested exception is org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'application' to com.company.asdf.config.ApplicationProperties

I double-checked the application properties (java class and yml) and also the necessary annotations but it still won't bind the properties.

I read the spring migration guide, did some extensive google and stackoverflow research and I'm out of ideas now :( Been working on this since yesterday. Has anyone had similar issues?

Bobur Azimov
@boburazimov
Hello every body, can some one help me? createdDate differs from my localtime in laptop, backend and front running in my local machine, also i check time in db and its correct
Tariku W/Michael
@tarikut929
hi, I am generating new project using jhipster, but found " Hikari - Exception during pool initialization. org.postgresql.util.PSQLException: FATAL: database "PatientPortal" does not exist" this error some body please help me
Alex
@allixus
I managed to solve my problem with the properties not getting bound. The fix? I changed application inside the YAML-files and the prefix in my custom properties class to app...simple as that, apparently. Seems to be some kind of naming/namespace-issue in my project.
Venkateswar Reddy Melachervu
@brillium-venkat
Any advice or pointers to solve the below issues:

Unable to find src/main/webapp/app/entities/entity.module.ts or missing required jhipster-needle. Route repo-providers not added to src/main/webapp/app/entities/entity.module.ts.

Unable to find src/main/webapp/app/layouts/navbar/navbar.component.html or missing required jhipster-needle. Reference to repo-providers not added to menu.
Both the files mentioned as not found above are very much present in the respective paths, though!
V W
@vw98075
To customize colours, what file does a change occur, loading.css or global.scss? I am not a front end developer.
Franco Mendoza
@franmendo13_twitter
Hello. I'm having a problem. Every time I update the JDL file by adding some entity or relationship, the database is not updated. And I think this is what causes that when I go to make a GET request, I get an "Internal Server Error". What I want is that every time I import the JDL file and run the gradlew command, the database is updated. How can I do it?
Alejandro Matos
@amatosg
use the command to create a liquibase entry, with maven it's mvn liquibase:diff

To customize colours, what file does a change occur, loading.css or global.scss? I am not a front end developer.

@vw98075 global

Unable to find src/main/webapp/app/entities/entity.module.ts or missing required jhipster-needle. Route repo-providers not added to src/main/webapp/app/entities/entity.module.ts.

Unable to find src/main/webapp/app/layouts/navbar/navbar.component.html or missing required jhipster-needle. Reference to repo-providers not added to menu.

@brillium-venkat try to run npm install

subash1996
@subash1996
without authentication user can login using oauth2 google login???
using jwt token
subash1996
@subash1996

Exception in google() with cause = 'NULL' and exception = 'Bad credentials'

org.springframework.security.authentication.BadCredentialsException: Bad credentials
at org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvider.authenticate(AbstractUserDetailsAuthenticationProvider.java:141)
at org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:182)
at com.launchpd.pma.web.rest.OauthResource.login(OauthResource.java:141)
at com.launchpd.pma.web.rest.OauthResource.google(OauthResource.java:124)

Alexander Widak
@deltatree
someone using fusionauth with jhipster?
Getting following error: "Full authentication is required to access this resource"
2 replies
Franco Mendoza
@franmendo13_twitter
image.png
Franco Mendoza
@franmendo13_twitter
Hello. I'm having a problem. I write Mappings on ClientResource.java, and on ClientRepository.java
But when I import the jdl with changes, jhipster overwrites this files and deletes my code I've written. Is there a way to prevent this?
2 replies
Kamil Sitarski
@kamil-sita
What's the point of copy() in the Criteria interface in the Java jhipster-framework? From a brief look I can't find any usages of it.
Alejandro Matos
@amatosg
I'm getting no such file or directory, scandir '/.../node_modules/generator-jhipster/lib/generators
Any one else got this error? I tried deleting the node_modules folder but nothing
Alejandro Matos
@amatosg
I had to create a symlink
Grégoire Hage
@greggameplayer
Hello, i've created an issue in jhipster registry (jhipster/jhipster-registry#521) because i get error in dns resolving in my kubernetes, someone know how to fix that here ?
V W
@vw98075
How to switch the UI theme? Any instruction/document on the subject?
Sanjeev
@Sanjeevs1995

How can we generate a multitenancy application using latest jhipster version.

I fount a blueprint which is last updated 2 years back and has version 6.3.1

https://www.npmjs.com/package/generator-jhipster-multitenancy

Can this blueprint be updated to latest version so it would be good