issue with maven server, cant find anything on it online
36 Replies
⌛
This post has been reserved for your question.
Hey @mochatitan! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose 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.
you dont have internet
i can ping google just fine though
💤
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.
@0x150 i have been trying to fix this build error for 45 minutes now, can you please help me?
try reading the error
oops lmao
it wasnt working before i was just tryna get a screenshot
it still doesnt work in the actual directory
try reading the error
your test is broken
i am reading the errors, but the test is near empty
it shouldnt fail any tests
ill send the code from it
@0x150
search in your code for "found.getName"
show that piece of code
cant find it anywhere
could this be it?
@tjoener
no probably something else
the test that failed was AsciiArtBackendApplicationTests
look there
this is all that is
it has nothing to fail
just remove it then
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
show code
these are the 3 java files
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
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?
you add
package com.example.ascii_art_backend;
to the top of all 3 filesit still wont start up
if you want, i can try to port it to github so you can view it easier
well show the error
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
it does say build success
idk what you ran but that doesnt look like you executed the app directly
i did mvn spring-boot:start in the directory with pom.xml in it
but it definitely looks weird
💤
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.