I have been having a ton of trouble setting up forge 1.15.2 with eclipse. I first downloaded the mdk (I have tried latest and recommended) copied it into a folder. Ran gradlew genEclipseRuns and then gradlew eclipse, then imported the folder as a java project (I have tried as a gradle project as well). When I do this, it gives me this error in the problems section of eclipse:
I don't have experienced with the 1.15.2 or Eclipse but I'd say try asking on the Forge Forums or checking a video where people have looked into Forge 1.15.2 development. Otherwise if I were to guess maybe it's the location/it not reading correctly as I assume you have all the files or changed the content in the example mod (at least that's what I came across in 1.12.2 when I 'tried' to learn Forge).
I have been having a ton of trouble setting up forge 1.15.2 with eclipse. I first downloaded the mdk (I have tried latest and recommended) copied it into a folder. Ran gradlew genEclipseRuns and then gradlew eclipse, then imported the folder as a java project (I have tried as a gradle project as well). When I do this, it gives me this error in the problems section of eclipse:
Project 'PowerApples' is missing required library: 'C:\Users\ewr20\Desktop\Java Workspaces\PowerApples\unresolved dependency - net.minecraftforge forge 1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1'
and it then doesn't recognise the forge API meaning I can't do anything with forge.
I don't have experienced with the 1.15.2 or Eclipse but I'd say try asking on the Forge Forums or checking a video where people have looked into Forge 1.15.2 development. Otherwise if I were to guess maybe it's the location/it not reading correctly as I assume you have all the files or changed the content in the example mod (at least that's what I came across in 1.12.2 when I 'tried' to learn Forge).
https://forums.minecraftforge.net/
https://www.youtube.com/results?search_query=forge 1.15.2 modding tutorial
Niche Community Content Finder, Youtuber, Modpack/Map Maker, Duck
Forum Thread Maintainer for APortingCore, Liteloader Download HUB, Asphodel Meadows, Fabric Project, Legacy Fabric/Cursed Fabric, Power API, Rift/Fabric/Forge 1.13 to 1.17.
Wikis I Maintain: https://modwiki.miraheze.org/wiki/User:SuntannedDuck2
I tried asking the forge forums and watching yt vids and neither wer particularly helpful
Not sure then, another think I could recommend is to try asking in the mod development threads maybe or asking some mod devs that could give a few pointers in discords/on curseforge. https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/modification-development
Otherwise no clue, you'd have to experiment I guess (see what could be causing it or try a new project and see if it happens with that one as well).
Niche Community Content Finder, Youtuber, Modpack/Map Maker, Duck
Forum Thread Maintainer for APortingCore, Liteloader Download HUB, Asphodel Meadows, Fabric Project, Legacy Fabric/Cursed Fabric, Power API, Rift/Fabric/Forge 1.13 to 1.17.
Wikis I Maintain: https://modwiki.miraheze.org/wiki/User:SuntannedDuck2