I was trying Codeforces problem 1921-C. Problem is when I put a single test case it works fine but with if I put all the test cases together the result changes.
I have a task that will eventually be implemented in Java and need to come up with an algorithm of how to solve this. Unfortunately this is not my strong suit so I am looking for some advice on what I came up with.
I am using the liquibase plugin with spring boot to generate the changeSets. Using mvn liquibase:diff I generate the changeSets with the differences between my entities and the database schema. Everything works correctly but when I modify the...
I'm struggling with this error that occurs when to execute jar file. When I run my app with IntelliJ, It works perfectly fine. But when I build the project with Gradle and run java -jar my-app.jar, this error Exception in thread main...
We recently migrated our app to java 11 and we are experiencing issues when using jmx to access mbeans. We used JDK Mission Control and also jmx term ( it is based on jconsole) to access. MBeans are exposed via Spring (5.2.5.RELEASE).
I am calling a web API with POST data from volley that returns a 400 code if there's a problem with the data, else a 200. In both cases, the response body is null. However, volley is treating the 200 case as an error. I don't see any response...
I'm a beginner and a high school student in programming an application in android studio. The project I'm doing is a student attendance scanner. Currently I created a QR code generator and scanner, my only problem is I don't know how to connect my...
I am trying to unmarshal an XML into a Java object using the jakarta.xml.bind.Unmarshaller but my XML does not contain some of the default namespaces as they are part of the XSD already. How to either explicitly mention to Unmarshaller to ignore...
I'm not asking you to fix the code for me, I'm asking if I can use my code below at the same time (which writes numbers to the console and then erases them with \b) that I will read data from the console using Scanner (.nextLine)?:
I'm a beginner and a high school student in programming an application in android studio. The project I'm doing is a student attendance scanner. Currently I created a QR code generator and scanner, my only problem is I don't know how to connect my...
I was trying Codeforces problem 1921-C. Problem is when I put a single test case it works fine but with if I put all the test cases together the result changes.
I'm struggling with this error that occurs when to execute jar file. When I run my app with IntelliJ, It works perfectly fine. But when I build the project with Gradle and run java -jar my-app.jar, this error Exception in thread main...
I'm just learning React Native. I have a JAR extension file written in Java. I want to integrate this file into iOS within React Native. Can I do this? Or in which language should I develop the JAR package to do this?
I have **Batch ** schema which contains List of other schemas . Those schemas are declared in other schema files so when I publish Batch to Kafka Schema registry registering only Batch schema ingoring all implicit one's.
I'm working on a chess project in Java using Java Swing for the graphical interface. I have a Board class that extends JPanel, where I draw the chessboard and the pieces, and I've implemented mouse interaction to be able to move the pieces on the...
We have a scenario where we need to update userPriceGroup using an admin account. One product in our site can have multiple prices depending on user tier. The problem happens when we call this endpoint of ProductsController,...
In my application I retrieve from the database some metadata and from it I build an instance of MyJob class implementing Runnable interface and then submit it to ThreadPoolTaskScheduler. Here is the code that does it.
Вы не можете начинать темы Вы не можете отвечать на сообщения Вы не можете редактировать свои сообщения Вы не можете удалять свои сообщения Вы не можете добавлять вложения