Home > Enterprise >  Eclipse creates module-info.java in the ./src folder. Is it possible to move it in the ./src/java fo
Eclipse creates module-info.java in the ./src folder. Is it possible to move it in the ./src/java fo

Time:01-15

Eclipse (4.25.0) creates the module-info.java in the ./src folder. If I moved it in ./src/java (or in ./src/main/java) Eclipse would not be able to find it. Is it possible to change the default place of module-info.java in Eclipse?

The java build path is the following: enter image description here

CodePudding user response:

Thanks to nitind and Daniel Widdis I could manage to solve this problem by deleting and recreating Java Build Path sources. I deleted module-info.java and recreated it with Configure -> Create module-info.java. Eclipse created it in the right place, which is (in my case) src/java. Thank you very much again!

  • Related