issue with maven server, cant find anything on it online

No description
36 Replies
JavaBot
JavaBot4w ago
This post has been reserved for your question.
Hey @mochatitan! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
0x150
0x1504w ago
you dont have internet
No description
mochatitan
mochatitanOP4w ago
i can ping google just fine though
No description
JavaBot
JavaBot4w ago
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived. If your question was not answered yet, feel free to re-open this post or create a new one. In case your post is not getting any attention, you can try to use /help ping. Warning: abusing this will result in moderative actions taken against you.
mochatitan
mochatitanOP4w ago
No description
mochatitan
mochatitanOP4w ago
@0x150 i have been trying to fix this build error for 45 minutes now, can you please help me?
0x150
0x1504w ago
try reading the error
mochatitan
mochatitanOP4w ago
oops lmao it wasnt working before i was just tryna get a screenshot it still doesnt work in the actual directory
mochatitan
mochatitanOP4w ago
No description
0x150
0x1504w ago
try reading the error your test is broken
mochatitan
mochatitanOP4w ago
i am reading the errors, but the test is near empty it shouldnt fail any tests ill send the code from it
mochatitan
mochatitanOP4w ago
No description
mochatitan
mochatitanOP4w ago
@0x150
tjoener
tjoener4w ago
search in your code for "found.getName" show that piece of code
mochatitan
mochatitanOP4w ago
cant find it anywhere
mochatitan
mochatitanOP4w ago
No description
mochatitan
mochatitanOP4w ago
could this be it? @tjoener
tjoener
tjoener4w ago
no probably something else
0x150
0x1504w ago
the test that failed was AsciiArtBackendApplicationTests look there
mochatitan
mochatitanOP4w ago
No description
mochatitan
mochatitanOP4w ago
this is all that is it has nothing to fail
0x150
0x1504w ago
just remove it then
mochatitan
mochatitanOP4w ago
No description
No description
No description
mochatitan
mochatitanOP4w ago
this happened after i removed it (after a mvn clean install which worked successfully) @0x150 idk why this is being so frustrating, its just refusing to work
0x150
0x1504w ago
show code
mochatitan
mochatitanOP4w ago
No description
No description
No description
mochatitan
mochatitanOP4w ago
these are the 3 java files
0x150
0x1504w ago
those dont have a package you have your spring boot app in the root package so spring boot scans ALL classes in the runtime for components which obviously doesn't end well
mochatitan
mochatitanOP4w ago
is there a mvn command for that or am i gonna have to go into the code to change it and if i do, it would just be the directory with pom.xml where the package starts, right?
0x150
0x1504w ago
you add package com.example.ascii_art_backend; to the top of all 3 files
mochatitan
mochatitanOP4w ago
it still wont start up if you want, i can try to port it to github so you can view it easier
0x150
0x1504w ago
well show the error
mochatitan
mochatitanOP4w ago
well i changed the pom.xml file and got it to say build successful, but it finishes despite being a server which should be continually running... also i have the old pom.xml file saved if you want to see it
No description
0x150
0x1504w ago
it does say build success idk what you ran but that doesnt look like you executed the app directly
mochatitan
mochatitanOP4w ago
i did mvn spring-boot:start in the directory with pom.xml in it but it definitely looks weird
JavaBot
JavaBot4w ago
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived. If your question was not answered yet, feel free to re-open this post or create a new one. In case your post is not getting any attention, you can try to use /help ping. Warning: abusing this will result in moderative actions taken against you.
Want results from more Discord servers?
Add your server