Skip to main content

All Questions

0 votes
1 answer
265 views

Maven Build Error : Execution default-clean of goal org.apache.maven.plugins:maven-clean-plugin:3.3.2:clean failed

I've looked into this issue as the title suggest, but I'm still don't know what I should do. While trying to build an executable jar file, one of the plugins 'maven-clean-plugin' cannot be resolved. ...
Sneha 's user avatar
0 votes
1 answer
262 views

Zybooks keeps telling me that i have an error in my code with the scanner, but it should be fine?

I have a project due tonight in which we are supposed to calculate the trajectory of the input based on the initial speed inputted. I have finished the code, but it keeps failing to compile due to the ...
John Obeto's user avatar
0 votes
0 answers
76 views

intellij-internal error-buil error in java

Internal error (java.io.IOException): Cannot find IntelliJ IDEA project files at C:\Users\HUAWEI\IdeaProjects\lastone java.io.IOException: Cannot find IntelliJ IDEA project files at C:\Users\HUAWEI\...
zena aslan's user avatar
0 votes
0 answers
51 views

java.lang.NumberFormatException: For input string: "150", but I've tried everything, How can I fix this error? [duplicate]

Exception in thread "main" java.lang.NumberFormatException: For input string: "150" at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:...
Peyton Cusick's user avatar
0 votes
1 answer
147 views

Constructor error: How can set these properties through parameterize constructor?

1. how can set these properties through parametrize constructor?? Class file public class Product{ private String Name; private String Color; private int Price; private int Stock; ...
Shaheer Ahmed's user avatar
24 votes
5 answers
45k views

Your project has set `android.useAndroidX=true` but configuration `debugRuntimeClasspath` still contains legacy support libraries

I am getting an warning in android studio when I run my app. the warning is- Your project has set android.useAndroidX=true, but configuration debugRuntimeClasspath still contains legacy support ...
Arnav's user avatar
  • 519
0 votes
0 answers
55 views

How do I fix this error where my compiler will not pick up the parameters I pass to a object declaration?

This Is The Point Super Class public class Point{ Point(int x_pass,int y_pass) { x = x_pass; y = y_pass; } } This Is The Quadrilateral Sub Class import java.util.*; ...
Thomas Watson's user avatar
1 vote
2 answers
703 views

How to call the method & fix error in this Java code?

I am a Java novice and I tried to get this code running but always seem to give me errors. I tried using sum and other functions too. What am I doing wrong? Here is the question I am practicing- Find ...
SciFu's user avatar
  • 11
0 votes
0 answers
249 views

Can't figure out the error in this javaFXML file

So i have an FXML project with a few stuff in it, and to test out a function in the UI i'm making i decided to create a 2nd main function named Main2 that loads up an FXML named HomePage (controller ...
Fady Mohamed Elganzoury's user avatar
0 votes
1 answer
39 views

Runtime error : could not find main in java program

I am using an online compiler to run this simple code but its giving a runtime error, "could not find or load class Main" There is no other syntax error. Kindly suggest a solution. import ...
Sneha 's user avatar
  • 29
3 votes
2 answers
16k views

Exponential Backoff Algorithm with Full Jitter Java Implementation

I am trying to create a utility class in pure Java that will contain the logic needed for the Exponential Backoff Algorithm implementation with full jitter as there will be multiple clients sending ...
unboundedcauchy's user avatar
0 votes
1 answer
49 views

getting an java arithmeticException error

Can someone please help to tell why I'm getting zero in my arithmetic operations? I'm trying to solve this arithmetic problem which gives value of x and y but it's giving me java.lang....
Zeeshan Haider's user avatar
0 votes
1 answer
860 views

Can't parse String to File in Kotlin

This is basic script where you input a file as one of the arguments and based on it's extension it executes it with a different program. This is not the full code this just the code that is giving me ...
user avatar
-1 votes
1 answer
892 views

Need Help Fixing An Exception Error in my Code

I am working on a Lab on the site Zybooks and I have completed the following code below: import java.util.Scanner; public class LabProgram { public static void main(String[] args) { Scanner scnr ...
MrBergSec's user avatar
0 votes
2 answers
101 views

Windows CMD cannot call on another class [duplicate]

I am trying to compile my code in Java but every time I try it gives me the error saying it cannot find the symbol of the other class. For example: package helloWorld; public class FirstClass { ...
CrispyNuggets's user avatar

15 30 50 per page