-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
login error in spring boot app after creating a fresh app using jhipster 8.7.0 #27121
Comments
@javagrails To provide all the information we need, please run |
@mraible I added the info of your given command |
@javagrails if you add
is it working? |
JHipster has completed the sample check This check uses |
Seems related to hazelcast/hazelcast#26361 if you generate the same app without |
Maybe fixed with #27063 ? |
@qmonmert yes I tried both you mentioned and below
in I will check without |
@qmonmert it's true may the problem is |
Overview of the issue
login error in spring boot app after creating a fresh app using jhipster 8.7.0
Motivation for or Use Case
Problem happen in spring boot app when Login button pressed in Angular app
DomainUserDetailsService class below method line
.map(user -> createSpringSecurityUser(login, user))
AND
.map(user -> createSpringSecurityUser(lowercaseLogin, user))
AccountResource class below method line
.map(AdminUserDTO::new)
Reproduce the error
? What is the base name of your application? jhesz
? Which type of application would you like to create? Monolithic application (recommended for simple projects)
? What is your default Java package name? com.jhesz.app
? Would you like to use Maven or Gradle for building the backend? Maven
? Do you want to make it reactive with Spring WebFlux? No
? Which type of authentication would you like to use? JWT authentication (stateless, with a token)
? Besides JUnit, which testing frameworks would you like to use?
? Which type of database would you like to use? SQL (H2, PostgreSQL, MySQL, MariaDB, Oracle, MSSQL)
? Which production database would you like to use? PostgreSQL
? Which development database would you like to use? H2 with disk-based persistence
? Which cache do you want to use? (Spring cache abstraction) Hazelcast (distributed cache, for multiple nodes, supports rate-limiting for gateway
applications)
? Do you want to use Hibernate 2nd level cache? Yes
? Which other technologies would you like to use? Elasticsearch as search engine, WebSockets using Spring Websocket, API first development using
OpenAPI-generator
? Which framework would you like to use for the client? Angular
? Besides Jest/Vitest, which testing frameworks would you like to use? Cypress
? Do you want to generate the admin UI? Yes
? Would you like to use a Bootswatch theme (https://bootswatch.com/)? Default JHipster
? Would you like to enable internationalization support? Yes
? Please choose the native language of the application English
? Please choose additional languages to install Arabic (Libya), Bengali, Turkish, Thai
? Would you like to generate code coverage for Cypress tests? [Experimental] Yes
? Would you like to audit Cypress tests? Yes
Suggest a Fix
may be related with Spring DevTools dependency and hot-reload settings I made false hot-reload {spring.devtools.restart.enabled=false} but still problem is there
JHipster Version(8.7.0)
JHipster configuration
Welcome to JHipster v8.7.0
Welcome to the JHipster Information Sub-Generator
JHipster configuration, a
.yo-rc.json
file generated in the root folder.yo-rc.json file
Environment and Tools
openjdk version "17" 2021-09-14
OpenJDK Runtime Environment (build 17+35-2724)
OpenJDK 64-Bit Server VM (build 17+35-2724, mixed mode, sharing)
git version 2.45.2
node: v20.17.0
npm: 10.8.2
Docker version 24.0.7, build afdd53b
JDL for the Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryJDL entity definitions
@mraible
The text was updated successfully, but these errors were encountered: