[英]Eclipse update the workspace with new Classpath
I'm working on a web application developed using Play framework. 我正在使用Play框架开发Web应用程序。 I'm using sbteclipse plugin to generate the eclipse related files. 我正在使用sbteclipse插件生成与eclipse相关的文件。 The problem I'm facing is whenever I add a new dependency in the .sbt file it does not get reflected in the Eclipse project automatically. 我面临的问题是,每当我在.sbt文件中添加新的依赖项时,它都不会自动反映在Eclipse项目中。 What can I do so that the new added dependency gets reflected in the Eclipse project automatically? 我该怎么做才能使新添加的依赖项自动反映在Eclipse项目中?
Just run play eclipse
(for play 2.3 it is activator eclipse
) again and refresh the project. 再次运行play eclipse
(对于play 2.3来说是activator eclipse
)并刷新项目。 It solves the problem for me. 它为我解决了问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.