module-info.java treated as package-info.java
There is not much more to this problem the title pretty much explains it. I have made the module-info.java file in src/main/java and it is being recognized as a package-info.java which is not what I want. Am I doing something wrong?
21 Replies
⌛
This post has been reserved for your question.
Hey @nikcho-kouhai! 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 you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
First I'd like to know how do you know that
actually my bad
it simply recognizes it as a .java file
and I know it because I cannot use any keywords
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
I have to set a java version in my pom.xml?
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
yeah but the IDE doesn't even recognize module as a keyword
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
how do I define a java version in the pom.xml?
also I'm pretty sure in my project structure I have it set to java 17 but let me check
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
balls
you my saving grace man
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
1.8? isn't that like giga old or is that just 8
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
sounds reasonable. Thanks again man!
If you are finished with your post, please close it.
If you are not, please ignore this message.
Note that you will not be able to send further messages here after this post have been closed but you will be able to create new posts.
been stuck on this for like a day and a half
Post Closed
This post has been closed by <@359755548973072397>.