Skip to content
Advertisement

Tag: spring-boot

Email value won’t pass through from vue to springboot

I have made a api that should get a user by their email but I get an error. I have similar api that just works, I think it goes wrong when I send it to the controller. The error: My vue code: Authservice Controller UserRepository Answer Not sure what api is here in the Vue context but I would guess

Save Excel Data in Database in Spring boot

I have some excel files which i need to upload and save all the content in database. In my excel files sometimes some column which is not mandatory is not present but in cases where it is mandatory it will be present So How can i handle this situation single spring boot controller which run in all these 3 excel

Why many people say that flatmap in reactor is one-to-many?

I’ve read that wonderful answer about the difference between map and flatMap. And there is a picture that demonstrates flatmap: And quote: The map is for synchronous, non-blocking, one-to-one transformations while the flatMap is for asynchronous (non-blocking) One-to-Many transformations. Based on that picture and quote I understand that flatMap allows the creation of more (or fewer) elements than it was

NoSuchBeanException: expected at least 1 bean which qualifies as autowire candidate. But only on one class during MockBean?

There’s this weird problem. I’m currently testing two repository classes that I plan to use as MockBean. The snippets of the code are as follows: For ClassARepoHibernate For ClassBRepoHibernate Now then, on the testing class, I put this up: When I run this test, it gives out this error before even going to the breakpoint if I debug: This confuses

Getting null value reference in One to Many mapping in Spingboot

I am trying to implement ONE-to-MANY mapping among two entities. In here designations have a location and a location have many designations. Once I added the designation it mapped fine, but it update the location table with null except id. Here I’m using the Microsoft SQL server. Application Properties DesignationMaster LocationMaster Service class of Designations Controller class of Designation I

Advertisement