简体   繁体   中英

Groovy Gradle“Project is missing required library” error in eclipse

I've created a Groovy project and build with Gradle from command line, all fine. But after load it into eclipse, I got lots of following errors inside the IDE. The project build path is pointing to these non-exist jars.

Project 'nexus' is missing required library: 'C:\\Users\\jironghu.gradle\\caches\\modules-2\\files-2.1\\commons-beanutils\\commons-beanutils\\1.8.0\\c651d5103c649c12b20d53731643e5fffceb536\\commons-beanutils-1.8.0.jar'

My bad, the eclipse project was generated in another company where my id was different. Just need to delete the eclipse .project and .classpath re-create them by "gradlew eclipse".

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM