简体   繁体   中英

Can't run grails app in STS after moving it to another pc

I'm working on a Grails project using STS 3.1, and I need to migrate the project to another PC. I copied the folder to the new environment and ran "refresh dependencies". It worked fine. I ran "grails war" succesfuly. The problem is when I try "run on server" I get the error:

"The archive: path to grails directory in old pc /lib/org.codehaus.groovy/groovy-all/jars/groovy-all-1.8.8.jar which is referenced by the classpath, does not exist."

Where can I update this reference ?

Thanks

I ended up migrating to IntelliJ Idea. Let me tell you there's a big difference in features and the price seems right.

您是否尝试过项目根目录下的.classpath文件?

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