Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
muralikanth9
@muralikanth9
I am new to Jhipster.. I donwloaded dependency (ngx-slick-carousel) for Image Slider
I get this error ERROR
ReferenceError: jQuery is not defined at eval (webpack-internal:///./node_modules/ngx-slick-carousel/ivy_ngcc/fesm2015/ngx-slick-carousel.js:129:13) at ZoneDelegate.invoke
Please some one advise how to avoid this error
JustinYi922
@JustinYi922
hi
tillias
@tillias
hello folks, is there any built-in angular progress indicator when issuing long-running requests? I have create question here as well https://stackoverflow.com/questions/64738023/jhipster-progress-bar
1 reply
Simon LeiƟ
@sleiss
Hey, is there any ETA for Jhipster 7?
3 replies
Akash Kumar Roy
@_skydex_twitter
hey all
i am facing a issue while applying the database changelog of liquibase
Liquibase could not start correctly, your database is NOT ready: Validation Failed
even if i had included the change log files to the master.xml
i know there's a workaround to drop off or clear the md5sum
but is it a good way to reflect entity related changes to database
2 replies
hardeepshukla08
@hardeepshukla08
Hello Everyone.
I generated a jhipster application without websocket option. But now there is a need to implement websocket in our application.
By using tracker example i implemented some of the configuration in my project.
However i am facing an issue regarding the websocket handshake
1 reply
i have configured everything I suppose.
Added websocket url to security file , ClientforwardController file and webpack file as well.
Enabled websocket in Yo-rc.json file
I am unable to find the problem. If anyone knows anything please help me out.
Supun Dharmarathna
@supun
I need to use external i18n and app constants files with Jhipster. any suggestion?
Ebsan Uddin
@Ebsan
I've been having a lot of issues running the jhipster app in prod. Running ./mvnw -Pprod still runs the app with the dev,swagger profiles
I've had this happen with a fresh, just generated project
the webpack debug information says it's using the prod profile but I'm not sure why
'-Pprod' doesn't run nor build a prod jar
Supun Dharmarathna
@supun
I need to use external i18n and app constants files with Jhipster. any suggestion?
basically i need to use different configurations in loading time
Davoud Badamchi
@patzu
Who is alive? I have a problem
I cannot login, some tables are missing, it looks like no database is created. I selected in-memory H2 database
org.springframework.data.r2dbc.BadSqlGrammarException: executeMany; bad SQL grammar [INSERT INTO jhi_persistent_audit_event (principal, event_date, event_type) VALUES ($1, $2, $3)]; nested exception is io.r2dbc.spi.R2dbcBadGrammarException: [42102] [42S02] Table "JHI_PERSISTENT_AUDIT_EVENT" not found; SQL statement:
INSERT INTO jhi_persistent_audit_event (principal, event_date, event_type) VALUES ($1, $2, $3) [42102-200]
Davoud Badamchi
@patzu

Who is alive? I have a problem

Oh, still no answer? nobody alive! :| Pandemic did the job I think. I created new Jhipster application with Reactive Webflux = false :) .

It works now.
vishnuc212
@vishnuc212
Does jhipster supports keycloak based fine-grained authorization?
herenow87
@herenow87
I am getting this error in
java.lang.IllegalStateException: REST API is not enabled. in UAA server and unable to access localhost:9999
herenow87
@herenow87
A file path that is implicitly relative to the current working directory is not allowed in the database URL "jdbc:h2:file:target/h2db/db/jhipsgate;DB_CLOSE_DELAY=-1". Use an absolute path, ~/name, ./name, or the baseDir setting instead. [90011-200]
simiii
@simiii
Hey there. I generated a new jhipster microservice app. Is it normal that hateoas ist configured by default? How do I disable it? Thanks in advance
Bobby King
@BLKingLLC
Does anyone have any idea why I'm getting this error during a Kubernetes deployment to Google? "Failed to pull image "brabbit/brabbit": rpc error: code = Unknown desc = Error response from daemon: pull access denied for brabbit/brabbit, repository does not exist or may require 'docker login': denied: requested access to the resource is denied"
Bobby King
@BLKingLLC
Found it... I think it may be a bug. The brabbit-deployment.yml had the wrong image address.
Bruce MARIAGE
@Brouce_gitlab
I there. I am struggling with a deployment issue: I need to CTRL+RELOAD button each time I redeploy the app, reloading is not enough, and I really can't explain that to clients. What should be the normal behaviour of the app after a new deployment ?
using JHipster v6.10.1 with vuejs blueprint
Please help !
7 replies
Bobby King
@BLKingLLC
How can I redeploy my entire Kubernetes deployment without deleting the cluster? Currently, I have to recreate the cluster then run kubeapply.sh -f
Balakrishna Kancharana
@balakrishna533

Hi all,

When I am trying to access jhipster through nginx, showing below error in the logs:

connect() failed (111: Connection refused) while connecting to upstream

Szabolcs Kelemen
@SzabKel
Hello! Could you please tell me if there is any way to ignore files during every generation? Like an import-jdl ignore file. I would use it to ignore files I already changed, like if I change the navbar manually for example, I would add the navbar's html to the ignore file so I wouldn't have to skip it manually every time I re-generate the code. (Or is there a better way?)
2 replies
cifilaci
@cifilaci
Hello Guys! I would like to ask around Oauth2, token refresh and revocation endpoint implementation. As far as I can see the the jwt token is persisted in the session of the user on the backend and I found no code validating the token expiration. So If I have a token with 5 mins lifespan this keeps working even after it is expired. Would it be a valid improvement to implement the validation and implementation of refreshing the token? My other question is about revocation. Why Jhipster is not implementing the revocation endpoint?
jeffry00777
@jeffry00777
After adding new entity, the tables are not added in the database.
Sang9xpro
@sang9xpro

After adding new entity, the tables are not added in the database.

yes. You have to create the table manually

Hello guys, How can I set default selected is Facebook in AvRadio react?
Example:

<AvRadioGroup name="radioSocial" required errorMessage="Pick one!" onChange={handleSocial}>
<AvRadio label="Facebook" value={Social.Facebook}/>
<AvRadio label="Youtube" value={Social.Youtube} />
<AvRadio label="Instagram" value={Social.Instagram} />
<AvRadio label="Tiktok" value={Social.Tiktok} />
</AvRadioGroup>

JCbackenddev
@JCbackenddev
Hey Guys! I am new here, could you advice me a good tutorial to create new views while respecting the preexisting architecture of the app! thank you in advance!
(I looked all over the internet and in the documentation but couldn't find a good one).
Armel BOBDA
@ArmelBobda_twitter
Hello!! Please I want to know if JHipster supports TLS 1.3?
jeffry00777
@jeffry00777
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'testingServiceImpl' defined in file [C:\Users\Hermina Louis\company\jpconferences\target\classes\com\jhipster\gateway\service\impl\TestingServiceImpl.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testingRepository': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Validation failed for query for method public abstract java.util.List com.jhipster.gateway.repository.TestingRepository.findLastRecord()!
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:798)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:228)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1358)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1204)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:557)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:226)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:895)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:878)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:747)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
at com.jhipster.gateway.CompanyApp.main(CompanyApp.java:63)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testingRepository': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Validation failed for query for method public abstract java.util.List com.jhipster.gateway.repository.TestingRepository.findLastRecord()!
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1796)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:595)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:226)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
a

public interface TestingRepository extends JpaRepository<Testing, Long> {

@Query("SELECT aa FROM Testing aa ORDER BY aa.id DESC")
public List<Testing> findLastRecord();

}

@Override
@Transactional(readOnly = true)
public List<Testing> getLastRecord() {
return testingRepository.findLastRecord();
}
@GetMapping("/testings/last")
public ResponseEntity<List<Testing>> getLast() {
//List<Testing> testing = testingService.getLastRecord();
return new ResponseEntity<>(testingService.getLastRecord(), HttpStatus.OK);
}
I am not able to fetch the data using custom query
Enes Dogan
@enesdogan27
Hi guys, could you advise me please? I want to access mongodb in docker container, it seems ports are not exposed in default? Which docker files should i change and rerun project? Assume i want to use mongodb for UAA server and want connect db from my host machine vai Robo 3T mongo client? Thanks
Enes Dogan
@enesdogan27

I solved myself after some research. Jhipster docker-compose generator does not expose ports. If you want to expose it you can manually alter docker-compose.yml file or related docker file. Sample docker compose file for exposing uaa server database exposed to be accessible from host machine:
`version: '2'
services:
blog:
image: blog
environment:

  - _JAVA_OPTIONS=-Xmx512m -Xms256m
  - 'SPRING_PROFILES_ACTIVE=prod,swagger'
  - MANAGEMENT_METRICS_EXPORT_PROMETHEUS_ENABLED=true
  - 'EUREKA_CLIENT_SERVICE_URL_DEFAULTZONE=http://admin:$${jhipster.registry.password}@jhipster-registry:8761/eureka'
  - 'SPRING_CLOUD_CONFIG_URI=http://admin:$${jhipster.registry.password}@jhipster-registry:8761/config'
  - 'SPRING_DATA_MONGODB_URI=mongodb://blog-mongodb:27017'
  - SPRING_DATA_MONGODB_DATABASE=blog
  - JHIPSTER_SLEEP=30
  - JHIPSTER_REGISTRY_PASSWORD=admin

blog-mongodb:
image: 'mongo:4.2.7'

gateway:
image: gateway
environment:

  - _JAVA_OPTIONS=-Xmx512m -Xms256m
  - 'SPRING_PROFILES_ACTIVE=prod,swagger'
  - MANAGEMENT_METRICS_EXPORT_PROMETHEUS_ENABLED=true
  - 'EUREKA_CLIENT_SERVICE_URL_DEFAULTZONE=http://admin:$${jhipster.registry.password}@jhipster-registry:8761/eureka'
  - 'SPRING_CLOUD_CONFIG_URI=http://admin:$${jhipster.registry.password}@jhipster-registry:8761/config'
  - 'SPRING_DATA_MONGODB_URI=mongodb://gateway-mongodb:27017'
  - SPRING_DATA_MONGODB_DATABASE=gateway
  - JHIPSTER_SLEEP=30
  - JHIPSTER_REGISTRY_PASSWORD=admin
ports:
  - '8080:8080'

gateway-mongodb:
image: 'mongo:4.2.7'

store:
image: store
environment:

  - _JAVA_OPTIONS=-Xmx512m -Xms256m
  - 'SPRING_PROFILES_ACTIVE=prod,swagger'
  - MANAGEMENT_METRICS_EXPORT_PROMETHEUS_ENABLED=true
  - 'EUREKA_CLIENT_SERVICE_URL_DEFAULTZONE=http://admin:$${jhipster.registry.password}@jhipster-registry:8761/eureka'
  - 'SPRING_CLOUD_CONFIG_URI=http://admin:$${jhipster.registry.password}@jhipster-registry:8761/config'
  - 'SPRING_DATA_MONGODB_URI=mongodb://store-mongodb:27017'
  - SPRING_DATA_MONGODB_DATABASE=store
  - JHIPSTER_SLEEP=30
  - JHIPSTER_REGISTRY_PASSWORD=admin

store-mongodb:
image: 'mongo:4.2.7'

uaa:
image: uaa
environment:

  - _JAVA_OPTIONS=-Xmx512m -Xms256m
  - 'SPRING_PROFILES_ACTIVE=prod,swagger'
  - MANAGEMENT_METRICS_EXPORT_PROMETHEUS_ENABLED=true
  - 'EUREKA_CLIENT_SERVICE_URL_DEFAULTZONE=http://admin:$${jhipster.registry.password}@jhipster-registry:8761/eureka'
  - 'SPRING_CLOUD_CONFIG_URI=http://admin:$${jhipster.registry.password}@jhipster-registry:8761/config'
  - 'SPRING_DATA_MONGODB_URI=mongodb://uaa-mongodb:27017'
  - SPRING_DATA_MONGODB_DATABASE=uaa
  - JHIPSTER_SLEEP=30
  - JHIPSTER_REGISTRY_PASSWORD=admin

uaa-mongodb:
image: 'mongo:4.2.7'
ports:

  - '27017:27017'

jhipster-registry:
extends:
file: jhipster-registry.yml
service: jhipster-registry

jhipster-elasticsearch:
extends:
file: jhipster-console.yml
service: jhipster-elasticsearch
jhipster-logstash:
extends:
file: jhipster-console.yml
service: jhipster-logstash
depends_on:

  - jhipster-elasticsearch

jhipster-console:
extends:
file: jhipster-console.yml
service: jhipster-console
depends_on:

  - jhipster-elasticsearch

jhipster-import-dashboards:
extends:
file: jhipster-console.yml
service: jhipster-import-dashboards
depends_on:

  - jhipster-elasticsearch

`