问题:
My table looks like the following:
id | value1 | count
I have a list of value1 in RAM and I want to do the following:
(if value1 exists in table){
count + 1...
问题:
I am trying to enable NMT in my spring boot application like this
java -jar -Dlogging.config=log4j2.xml -XX:NativeMemoryTracking=summary application.jar
However, I g...
问题:
My application is getting upgraded to Jboss 6.2 to Jboss 7.1 and Java 7 to Java 8. So while doing deployment, We are facing below issue:
java.lang.LinkageError: loade...
问题:
I'm using Firebase to allow the user to sign in with either their Facebook account or their Google account. I have allowed the creation for multiple accounts under the same...
问题:
I am new to the automation and I would like to know how to scroll to a web element on the current page using selenium and java.
I have tries many methods which is describ...
问题:
I'm trying to extract the text from a PDF with a custom formatting. I am using the PDFBox API. I need the columns with empty field to be populated with an identifier (pipe...
问题:
Im using ThreadPoolExecutor Service to process List of items in my code. I will get those item List from DataBase. Problem here is Tomcat thread nio-8080-exec-5 continuousl...
问题:
I am struggling with this problem when the application goes to run on the mobile phone HUAWEI ALE - 21 Android 6.0 API 23 . My application collapses and I take back those e...
问题:
I am writing a Android App in Java (with Codename One). I am into Java for about 3 years (Swing, FX, after a year of Python), but not a professional programmer. So, for the...
问题:
I made a mediaplayer app with a media service which controls my mediaplayer object.
Everything works fine but my logcat gets flooded with this message every second.
Wha...
问题:
I have a method in servlet that inserts tutoring bookings in database. This method has a business rule that checks if the tutor of this session is already busy in that date...
问题:
I did some research but didn't find an answer that I am looking for. In Spring, DAO and service classes are declared as interface. Classes implementing interfaces are usual...
问题:
Can't get the program to print more than one square.
My code right now
import java.awt.*;
import javax.swing.*;
public class MyApplication extends JFrame {
pri...
问题:
In common browsers like Chrome, Firefox and IE, when you drag an element into an input box(input type="text"):
If the element is an image(img href="image's url"), it'...
问题:
I created a JavaFX project using JDK 1.8. Works correctly. But if I try to add Maven support, compilation fails.
Firstly, I tried to do it in Java 11 with JavaFX 11 but e...