简体   繁体   English

导入org.eclipse(.emf)无法解析

[英]the import org.eclipse(.emf) cant' be resolved

I try to test the EMF API and work with EPackage, EClass,... 我尝试测试EMF API,并与EPackage,EClass,...

To do this I need to import org.eclipse.emf.Ecore if I am not mistaken. 为此,如果我没有记错的话,我需要导入org.eclipse.emf.Ecore。

The problem is that I get this org.eclipse cant' be resolved problem. 问题是我得到了这个org.eclipse无法解决的问题。 Itried many solution including installing EMFplugging, plugin devellopement environment, downloading and adding org.eclipse.emf jars to my build path (downloaded at http://www.java2s.com/Code/Jar/o/Downloadorgeclipseemf260v201201231045jar.htm ) 尝试了许多解决方案,包括安装EMFplugging,插件开发环境,下载org.eclipse.emf jar并将其添加到我的构建路径(可从http://www.java2s.com/Code/Jar/o/Downloadorgeclipseemf260v201201231045jar.htm下载)

Do you know any tip to have an easy and quick solution (maybe an eclipse release or the correct jar file)? 您是否知道任何技巧可以轻松快捷地解决(可能是eclipse版本或正确的jar文件)?

Thanks 谢谢

使用带有(或安装)EMF的软件包,例如https://www.eclipse.org/downloads/packages/release/2019-06/r/eclipse-modeling-tools ,并确保在以下位置创建“插件”项目在MANIFEST的选项卡“ dependencies”中,您有包含org.eclipse.emf.ecore的插件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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