Comments (8)
I'd love to, but they require write access to lots of my Github stuff, and I'm not ready to do this...
BTW, I'm using drone.io on the generated app, you can see it here: https://drone.io/github.com/jhipster/jhipster-sample-app
from generator-jhipster.
ok. I close it.
from generator-jhipster.
When I build in Drone.io or Shippable I get:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityConfiguration': Injection of autowired dependencies failed; nested exception is java.lang.IllegalStateException: Cannot apply org.springframework.security.config.annotation.authentication.configurers.userdetails.DaoAuthenticationConfigurer@6d48f1c to already built object
Just like https://drone.io/github.com/jhipster/jhipster-sample-app/4
Can you suggest something? Thanks :)
from generator-jhipster.
Use JDK 1.8 to build
I don't remember why, but that solved the issue :-)
from generator-jhipster.
That doesn't seem to be the problem... My configuration is exactly like yours with JDK8. The only difference from the sample-app is that I generated 2 more entities.
https://drone.io/bitbucket.org/sidharta/get2share/1
from generator-jhipster.
Please note that I've had the same issue, with a Docker container which I specifically created for testing building, running and testing the application from scratch on a new machine. I encountered the same issue. Likely, one awesome fellow had the same issue and made a fix, here:
It fixed the issue of running the tests on my Docker container, and I would say that the fix seems reasonable.
from generator-jhipster.
fwiw, I had the same problem as reported in the StackOverflow article and fixed it by changing
@Inject
public void configureGlobal(AuthenticationManagerBuilder auth) throws Exception {
auth
.userDetailsService(userDetailsService)
.passwordEncoder(passwordEncoder());
}
to
@Override
public void configure(AuthenticationManagerBuilder auth) throws Exception {
auth
.userDetailsService(userDetailsService)
.passwordEncoder(passwordEncoder());
}
I don't really know what exactly that is changing, or why it was necessary for Ci build (Teamcity) but not for local build.
from generator-jhipster.
The fix proposed KoljaTM works fine, here the explanation:
Thx!
from generator-jhipster.
Related Issues (20)
- `npx jhipster upgrade` doesn't work to upgrade an app from 8.3.0 to 8.4.0 HOT 9
- Not possible to create a uni-directional many-to-one relation with the CLI
- Don't warn about relationships when creating a brand new project
- Questions should follow the same order between major releases HOT 2
- Eclipse/VScode can't find *.ts imports starting with @ alias in vue.js frontend HOT 1
- Sonar: 49 reliability issues HOT 2
- Angular: style broken on the threads dump modal
- Use typesafety within the generator HOT 3
- Allow unidirectional one-to-one
- IllegalArgumentException "key cannot be empty or null" on freshly created project. (add steps to the guide or fix the issue) HOT 6
- Oauth2 OIDC - claims - BuiltInUserEntity HOT 6
- side-by-side pattern for vue js
- Can't wrap a component from PrimeReact with ValidatedField.
- Astro for Microfrontend
- Embedded ManyToOne relationships are broken in vue and react frontends.
- Release missing v8 based blueprints. HOT 18
- [React] `serializeError` should not be used by known errors
- Upgrade spring-boot to v3.3.0 HOT 1
- Not generating service files HOT 4
- Upgrade to Angular 18 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from generator-jhipster.