简体   繁体   English

Eclipse使用新的Classpath更新工作区

[英]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.

相关问题 如何将Eclipse类路径变量从一个工作空间复制到新工作空间? - How can I copy Eclipse classpath variables from one workspace to a new workspace? eclipse中的.classpath内容更新 - .classpath contents update in eclipse 如何自动查找当前的Eclipse工作空间类路径? - how to find the current workspace classpath of eclipse automatically? Eclipse类路径不会更新项目属性中的更改 - Eclipse classpath does not update changes in Project Properties Eclipse和类路径 - Eclipse and Classpath 类路径和Eclipse - classpath and Eclipse M2Eclipse:当Maven更新工作区中的项目时,如何避免M2E更改我的类路径 - M2Eclipse: How to avoid M2E to change my classpath while maven updating project in workspace 当项目名称与工作空间名称相同时,Eclipse中的项目:由类路径引用的swing不存在“ - “The project: swing which is referenced by the classpath, does not exist” in Eclipse when project name is the same as workspace name Eclipse 在选择“作为 java 应用程序运行”后在类路径中显示错误的工作区目录,导致“找不到类” - Eclipse showing wrong workspace directory in classpath after selection “run as java application” causing “class not found” 为什么有时eclipse在导入工作区时不需要.project和.classpath文件/eclipse如何将项目识别为项目? - Why sometimes eclipse doesn't need .project and .classpath file during importing into workspace/How does eclipse recognize projects as projects?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM