chevron_left

Recent posts tagged java

0 0 2 min.
**Problem:** ========= *Unfortunately, it giving exceptions pls help me.* Solution: --------- *The issue is, what will awaken this string? In other words, how would you ensure that the other string won't call for?`notify()` before the main strin...
posted Nov 10 Alecxe01 807 points
0 0 3 min.
**Problem :** ========= I am facing the below error in my program saying: Lyrics.java:11: error: cannot find symbol Cube(b); ^ symbol: method Cube(int) location: class Lyrics Lyrics.java:15: error: incompati...
posted Nov 9 Alecxe01 807 points
0 0 1 min.
**Problem:** ========= I am very new to Spring Boot. I am learning to write code in Spring Boot. I have written my first Spring Boot code as below @RequestMapping(value = "/bar/foo", method = RequestMethod.GET) public MyResponseEntity f...
posted Nov 7 Alecxe01 807 points
0 0 3 min.
**Problem:** ======== Here I am just presenting the part of the code that is throwing the error. Here I am merging two different sets of dataframes that are added to two different lists. path1 = '/home/Desktop/computed_2d_blaze/' path2 = '/...
posted Nov 7 Alecxe01 807 points
0 0 2 min.
**Problem:** ========= I am a beginner in Android Studio and I have written code, but I keep facing the below error if I try to run my code: **"Error: method does not override or implement a method from a supertype".** *I have already spent over fo...
posted Nov 7 Alecxe01 807 points
0 0 1 min.
**Problem:** ======== *Hello! I am quite new to Java. I have written the following code:* public class Main { public static void main(String[] args) { int number = increment(5); for(int number = number ; number>0; ...
posted Nov 6 Alecxe01 807 points
0 0 3 min.
**Problem :** ========= I am getting below error while trying to run **pyspark** on my MacBook air *exception: java gateway process exited before sending the driver its port number* Solution: --------- One possible reason behind getting this err...
posted Nov 6 Alecxe01 807 points
0 0 2 min.
**Problem :** ========= Whenever I run **mvn --version** command from inside the bin it gives me the version but when I run it from the outside of the bin it gives following exception : **'mvn' is not recognized as an internal or external command, o...
posted Nov 6 Alecxe01 807 points
0 0 4 min.
**Problem :** ========= I am facing the following error for the Stack: **AngularJS v1.6.5, java 8, spring boot, tomcat**. After about around 1 week of work, my application is not responding but giving me such an error. Why is this happening to me? ...
posted Nov 5 Alecxe01 807 points
0 0 1 min.
**Problem :** ========= I am a very beginner at Android and Firebase. I am taking the help of tutorials to learn Android Programming. I am trying to add the **Firebase-database** to my Android application and I am facing the below error: FAILUR...
posted Nov 4 Alecxe01 807 points
0 0 2 min.
Problem : --------- I am getting bellow error **java.util.illegalformatconversionexception: d != java.lang.double** Solution : ---------- You must have got a format specifier in the wrong section of the printf statement. So it needs to be in the ...
posted Nov 4 Alecxe01 807 points
0 0 1 min.
**Problem:** ======== I am very new to **Java** Programming. I am trying to get some help on converting the integer to a word. I have some idea of what I will be doing but need some help with it from a **Java** expert. I am trying to find a code th...
posted Nov 4 Alecxe01 807 points
0 0 2 min.
Problem: -------- Why can Java 9 no longer find these classes? Someone can help me here to solve this? Thanks Solution: --------- The **JAXB** APIs are seen as Java **EE APIs** and as such are not, at this spot contained on the default classpath ...
posted Nov 4 Alecxe01 807 points
0 0 1 min.
**Problem:** ======== I am very new to Java and trying to learn arrays in Java. I am trying to enter one int and the other long ex: 1 and 1000000000 and now I am trying to create the array of size 1000000000. And after creating the array at each ind...
posted Nov 2 Alecxe01 807 points
0 0 1 min.
**Problem:** ======== I have already seen many questions asked around the error which I am facing. But available solutions are not working for me. It may be the case that I am yet to thoroughly understand an auto wiring concept. I am able to nav...
posted Nov 1 Alecxe01 807 points
0 0 1 min.
**Problem :** ========= I am very new to **Java**. I am always facing the problem if I try to convert kilometers into miles. I am kind of novice programmer so please bear with me. Please find below my Java code for your reference: import java....
posted Nov 1 Alecxe01 807 points
0 0 1 min.
Problem : --------- I need someone to help me to get imei number in android programmatically Solution: --------- Getting an IMEI number on your mobile phone is an easy task. To get it you need to take permissions from your android application. As...
posted Oct 31 Alecxe01 807 points
0 0 3 min.
**Problem :** ========= ***I am stuck with the following the Maven issue.*** Error: could not find or load main class org.codehaus.plexus.classworlds.launcher.launcher My Maven was working fine till last week after that I do not know w...
posted Oct 30 Alecxe01 807 points
0 0 1 min.
**Problem:** ======== Hello all, Please explain to me the error in the following program. ​class test { String name="name"; public person(String nm){name=nm;} } class emp extends test { String empid="0000...
posted Oct 29 Naymul01 996 points
0 0 2 min.
**Problem:** ======== Hello fellas, I was trying to solve problems from various websites. All the problems are the java-based problem. I’ve got a problem that says: Write the definition of a class **weatherforecast that provides the following behav...
posted Oct 29 Naymul01 996 points