Omen
JCHJava Community | Help. Code. Learn.
•Created by Omen on 12/25/2024 in #java-help
The bot isnt responding when i run an message
C:\Users\priya\Desktop\Study\Programs\Omenize Bot\node_modules\discord.js\src\client\websocket\WebSocketManager.js:136
const invalidToken = new DiscordjsError(ErrorCodes.TokenInvalid);
^
Error [TokenInvalid]: An invalid token was provided.
at WebSocketManager.connect (C:\Users\priya\Desktop\Study\Programs\Omenize Bot\node_modules\discord.js\src\client\websocket\WebSocketManager.js:136:26)
at Client.login (C:\Users\priya\Desktop\Study\Programs\Omenize Bot\node_modules\discord.js\src\client\Client.js:228:21)
at Object.<anonymous> (C:\Users\priya\Desktop\Study\Programs\Omenize Bot\src\index.js:21:8)
at Module._compile (node:internal/modules/cjs/loader:1469:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
at Module.load (node:internal/modules/cjs/loader:1288:32)
at Module._load (node:internal/modules/cjs/loader:1104:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
Node.js v20.18.0
[nodemon] app crashed - waiting for file changes before starting...
13 replies
JCHJava Community | Help. Code. Learn.
•Created by Hype_the_Time on 12/12/2024 in #java-help
In Project Annotation Proccessor
268 replies
JCHJava Community | Help. Code. Learn.
•Created by Hype_the_Time on 12/12/2024 in #java-help
In Project Annotation Proccessor
hugging test
268 replies
JCHJava Community | Help. Code. Learn.
•Created by Hype_the_Time on 12/12/2024 in #java-help
In Project Annotation Proccessor
2024-12-24T16:24:50.060+0100 [ERROR] [system.err] Unrecognized option : -Dfile.encoding=UTF-8
268 replies
JCHJava Community | Help. Code. Learn.
•Created by Phloof_boll on 12/8/2024 in #java-help
Am I using the wrong loop or the loop wrong
24 replies
JCHJava Community | Help. Code. Learn.
•Created by IamMax420 on 12/7/2024 in #java-help
java: cannot find symbol symbol: method builder()
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.36</version>
<scope>provided</scope>
</dependency>
still getting the same error...157 replies
JCHJava Community | Help. Code. Learn.
•Created by john on 11/15/2024 in #java-help
AVL trees
195 replies
JCHJava Community | Help. Code. Learn.
•Created by john on 11/15/2024 in #java-help
AVL trees
updateHeights(restructureNodeOnRemove);
195 replies
JCHJava Community | Help. Code. Learn.
•Created by SummerPsycho on 11/15/2024 in #java-help
Flow chart to Java.
"""
//name this file program2 or it will not work
import java.util.Scanner;
"""
8 replies
JCHJava Community | Help. Code. Learn.
•Created by john on 11/15/2024 in #java-help
AVL trees
195 replies
JCHJava Community | Help. Code. Learn.
•Created by john on 11/15/2024 in #java-help
AVL trees
195 replies
JCHJava Community | Help. Code. Learn.
•Created by john on 11/15/2024 in #java-help
AVL trees
195 replies
JCHJava Community | Help. Code. Learn.
•Created by Edmon on 11/14/2024 in #java-help
Testing Framework in Java
JUnit
10 replies
JCHJava Community | Help. Code. Learn.
•Created by StremesJ on 11/11/2024 in #java-help
Need Help with java ASCII art - can anyone try this and then talk me through it. Please and Thanks:D
Program 4. Seven Segment Display (20%)
In the file SevenSegment.jsh, write a method with the signature:
void display(int n)
that, given a number, displays ASCII art of that number in the style of an electronic “seven
segment display”. For example:
display(28);
-- --
| | |
-- --
| | |
-- --
You may assume the number is a non-negative Java int.
Hints:
Use n % 10 to get the right-most digit of a number. For example, 123456 % 10 == 6.
Use n / 10 to chop off the right-most digit of a number. For example, 123456 / 10 ==
12345.
To help your program draw the ASCII art, you should use the following method that, given a
digit d and a line number n (from 1 to 5), returns a String representing line n of digit d.
29 replies
JCHJava Community | Help. Code. Learn.
•Created by Akif on 10/30/2024 in #java-help
Module Not Found, when doing "mvn clean install"
1275 replies
JCHJava Community | Help. Code. Learn.
•Created by Akif on 10/30/2024 in #java-help
Module Not Found, when doing "mvn clean install"
So when i add it like this:
:runApp
mvn -pl use-guiFX exec:java -Dexec.mainClass=org.tzi.use.mainFX.MainFX -Dexec.jvmArgs="%VMARGS%" -Dexec.args="%*"
I get following:
java.lang.NullPointerException: in
(MainWindowFX.java:159)
which is this:
inside MainWindowFX
1275 replies