mapstruct doesn't work on my Spring Boot project. I added dependencies, path, Mapper annotations (componentModel="spring") in the mapper interface and still get
Java Selenium - how to test browser network -> payload ? I have following code that works: WebDriver driver; BrowserMobProxyServer proxy; Proxy
I am creating one foreground service and start this service using STICKY. It detect phone lock and on event. It working fine for few hours but after some time t
I have a shared variable count, which I am incrementing in increment() method and two threads are access this. I'm getting the wrong final count. Here is the s
Example code: java.net.URI.create("http://测试.com").getHost(); // return null new java.net.URL("http://测试.com").getHost(); // return
I have a problem with a Java code and I can't solve it, I have a Vector with 3.529 .txt files and I wanted to split it into 6 other vectors. I'm using the code
What I mean is there a way to set the window size to related to the result given by this method: GraphicsEnvironment.getLocalGraphicsEnvironment().getMaximumWin
tl;dr: I'm using Google OR-Tools in Java. I want to add a conditional constraint to a CpModel depending on whether clause involving IntVar variables are true. B
I have 3 different projects. Project A , Project B & Project C. Project B contain some model classes as well as other classes & Project C contain only d
I have an class where I define a list with an add and deletion method like here: public class listClass{ private List<T> someList = new ArrayList<&
I have a problem that I've already described on StackOverflow but still can't solve - Suddenly LogCat stopped working for me - I have no idea why! As soon as I
When I click the button in the title bar it doesn't do any thing. I use item in menu and I linked it to main activity class but it doesn't work. @Override
I have a query some times I get timeout exception and query runs on the backend for ever not displaying any information and causes application to hang up how ca
I have a large set of User PII data, currently, we are storing on Relational Data encrypted with AWS KMS. Now I have to paginate data based on UserName. The onl
I just started learning Java yesterday, and today I was learning input-taking. I got to know why we need to clear the scanner buffer before taking input using .
I am trying to store custom java objects in Firebase. These objects have ArrayLists and other object references inside them such as Location. When I try to writ
I'm wrote my code using combination of stack & queue data structures. My code is working, but I have a problem in the main() method. I'm using a loop to rea
So, I have a form in that i have two check boxes and both can be checked but when i check both the data is not going into database only the first value is inser
I'm new to a project and the project is using the maven-enforcer-plugin. The plugin (version 3.0.0) is configured to require Java 11 <requireJavaVersion>
I want to like this as picture shown in WebView app Here is my code but I am not getting camera option only I am getting gallery in my app public class MainAct