When I run mvn install
, I am getting module not found
. I clean it and install it again but the same error. Let me know if you have any ideas to fix this thank you!
Asked
Active
Viewed 229 times
0

Jcheong
- 21
- 6
-
What is th structure of your project? – Harry Coder Jul 03 '21 at 12:31
-
Have you tried to run "mvn install" from command line outside IDE? – y.bedrov Jul 03 '21 at 12:43
-
@HarryCoder i posted the project structure. – Jcheong Jul 03 '21 at 15:08
-
@y.bedrov i just tried it game the same error – Jcheong Jul 03 '21 at 15:09
-
I would suggest you those links : https://www.baeldung.com/maven-multi-module-project-java-jpms and https://stackoverflow.com/questions/50451220/maven-dependency-module-not-found – Harry Coder Jul 04 '21 at 04:50
-
1@HarryCoder thank you! adding maven-compiler-plugin fixed the error – Jcheong Jul 04 '21 at 15:32