issue with maven server, cant find anything on it online

No description
36 Replies
JavaBot
JavaBot3mo 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
0x1503mo ago
you dont have internet
No description
mochatitan
mochatitanOP3mo ago
i can ping google just fine though
No description
JavaBot
JavaBot2mo 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
mochatitanOP2mo ago
No description
mochatitan
mochatitanOP2mo ago
@0x150 i have been trying to fix this build error for 45 minutes now, can you please help me?
0x150
0x1502mo ago
try reading the error
mochatitan
mochatitanOP2mo ago
oops lmao it wasnt working before i was just tryna get a screenshot it still doesnt work in the actual directory
mochatitan
mochatitanOP2mo ago
No description
0x150
0x1502mo ago
try reading the error your test is broken
mochatitan
mochatitanOP2mo ago
i am reading the errors, but the test is near empty it shouldnt fail any tests ill send the code from it
mochatitan
mochatitanOP2mo ago
No description
mochatitan
mochatitanOP2mo ago
@0x150
tjoener
tjoener2mo ago
search in your code for "found.getName" show that piece of code
mochatitan
mochatitanOP2mo ago
cant find it anywhere
mochatitan
mochatitanOP2mo ago
No description
mochatitan
mochatitanOP2mo ago
could this be it? @tjoener
tjoener
tjoener2mo ago
no probably something else
0x150
0x1502mo ago
the test that failed was AsciiArtBackendApplicationTests look there
mochatitan
mochatitanOP2mo ago
No description
mochatitan
mochatitanOP2mo ago
this is all that is it has nothing to fail
0x150
0x1502mo ago
just remove it then
mochatitan
mochatitanOP2mo ago
No description
No description
No description
mochatitan
mochatitanOP2mo 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
0x1502mo ago
show code
mochatitan
mochatitanOP2mo ago
No description
No description
No description
mochatitan
mochatitanOP2mo ago
these are the 3 java files
0x150
0x1502mo 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
mochatitanOP2mo 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
0x1502mo ago
you add package com.example.ascii_art_backend; to the top of all 3 files
mochatitan
mochatitanOP2mo ago
it still wont start up if you want, i can try to port it to github so you can view it easier
0x150
0x1502mo ago
well show the error
mochatitan
mochatitanOP2mo 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
0x1502mo ago
it does say build success idk what you ran but that doesnt look like you executed the app directly
mochatitan
mochatitanOP2mo ago
i did mvn spring-boot:start in the directory with pom.xml in it but it definitely looks weird
JavaBot
JavaBot2mo 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.

Did you find this page helpful?