I'm new to using maven and have a Project where I'm trying to create an instance of an object but keep getting the error: error: cannot find symbol Comm
I am trying to install Spark which requires Java with using !apt-get install openjdk-8-jdk-headless -qq > /dev/null And I get an error after it. E: Failed
How can I compact these code in Java without creating other objects? myObjectNumberOne.setTitle("title"); myObjectNumberOne.setBody("body"); myObjectNumberOne.s
I am trying to write a class that takes a phone number that the user inputs as a string, then stores each digit in an array. I converted the string to a long us
Calling an API that returns french sentences, all the accented characters are displayed like <?> in my java code, even if the charset is well defined (app
Can someone provide me an example of a Swing Timer stopwatch GUI in Java using a constantly-updating JLabel? I am not familiar with using @Override, so please
I need to read a date from a JDateChooser and save it into a MYSQL database table using the ActionPerformed method of a JButton. There are three JDateChooser
I have seen other questions on here like: How is the default max Java heap size determined? and Understanding java heap I run the command to see my heap size ja
My scenario is the following. I have a swagger .json eg.: http://petstore.swagger.io/v2/swagger.json I want to use a generated java client for the REST API abo
I want to select only the text "only this text" from the snipet below using XPath (in Java) but that text is random and I don't know what is written there. &l
I don't understand how to fix it, first time i see mistake like this. i downland this from github https://github.com/nikishubin/Notebook but its does not work O
This a springboot Application. It run perfectly but did not get output (it shows me HTTP Status 404 error in browser) pom.xml <project xmlns="http://maven.
I am trying to compile my project with Java 11. When I try to run the application with Java 8 as the Java version in pom.xml, it works fine. But when I try to r
Hello when trying to use spring-redis i am getting java.lang.NoClassDefFoundError: Could not initialize class org.springframework.data.redis.connection.jedis.
My client side program is like this: DefaultHttpClient httpClient = new DefaultHttpClient(); HttpResponse res = httpClient.execute(req); Server side, I have
I have created a simple java application as my college mini project in which one of the module I'm allowing users to perform operations like insert, delete, upd
I'm looking to return the nth largest data value in the subtree rooted at this node in a BST that can have duplicate values. Right now I have this but it doesn'
i am trying to import network library , but android studio shows up with this meessage:ERROR: Unable to resolve dependency for ':app@debug/compileClasspath': Co
I need help implementing Applovin native ads in recycler view. I cannot find any references on how to implement app lovin native template ads in recycler view a
It's the first time that I have to write a Quarkus extension and I'm having problems with Lombok, after that, i have added the dependency to the pom's dependenc