The register button is not functioning correctly, It gives me authentication failed toast. it seems like my strings for a create a user with email and password are correct but it still wont work. What can I do? please help if you can. Java File: XML File: the strings I filled in: [enter image description here…
Tag: java
How i return Empty mono if the request doesn’t return error using webClient
i want to know how return a empty Mono when i use webClient, i have this code and it works when the request return a user. Answer First of all, don’t use block() if you really want to take full advantage of using reactive stack. With it you are blocking the thread to wait for a response, don’t do …
Overwrite properties in java library
I have a Lib-A that has a dependency on com.atlassian.oai:swagger-request-validator-core. This dependency has a properties file messages.properties. I have an App-A that has a dependency on Lib-A. If I place the messages.properties file in App-A, I am able to overwrite the properties, but if I place it in Lib…
Maven shows no colors in macOS terminal
I installed Maven (the latest version, 3.8.3) via Homebrew (brew install maven) on a Mac running the latest macOS Monterey (12.0.1, Apple Silicon). When I run any mvn command in the terminal, the output is plain white with no colors and no bold text. I tried the same command (also version 3.8.3) on my older M…
NullPointerException on JPA on SpringBoot
I’m new on SpringBoot and I’m making a small CRUD. When I try to make a GET request that show me a list of soccer teams from my BD called “soccer” I’ve have the following error message: My model “Equipo” is: My Repositorie “EquipoRepo” is My service “…
How to append new rows or perform union on tow PCollection
In the following CSV, I need to append new row values for it. ID date balance 01 31/01/2021 100 01 28/02/2021 200 01 31/03/2021 200 01 30/04/2021 200 01 31/05/2021 500 01 30/06/2021 600 Expected output: ID date balance 01 31/01/2021 100 01 28/02/2021 200 01 31/03/2021 200 01 30/04/2021 200 01 31/05/2021 500 0…
How can I deserialize it using Java?
I have a postgresql function that returns json: How can I deserialize it using Java? My POJO I want to use ObjectMapper but I can’t do this) Answer Change your Information class to the following (mind the Jackson annotations to match JSON properties): And then you just need to use Jackson’s Object…
Dynamically adding nodes in JavaFX
I’m trying to build a chat application that implements Group chat in JavaFX. I want to make a Scroll Pane inside of a Border pane that will contain all Groups in which the User is member of. The Groups icons (ImageViews) need to be added dynamically(cannot be done in Scene Builder) to the Scroll Pane(in…
Bloomberg not publishing prices from QuickFixJ
I am using QuickFixJ with SpringBoot to publish market price data to Bloomberg. When publishing prices, everything is working well. However, I cannot see any prices published on Bloomberg when I hit ALLQ. Event log files : Message log files : My Java code : I cannot see what I’m doing wrong as my parame…
Cannot change the colour of the button of my android application in Android studio
I’m new to android studio. I started to create a mobile application. I need to add a white color button to my mobile application. I just drag and drop a button and it shows as blue color in the Android studio design as well as in my phone. After I created a button.xml to change the color of the button.