简体   繁体   English

jar在classpath中工作,不在targetplatform月食中

[英]jar works in classpath not in targetplatform eclipse

I have a jar that is working fine in Eclipse in other peoples Eclipse environments here. 我有一个jar,可以在其他人的Eclipse环境中的Eclipse中正常工作。 When I add it to mine, it does not get resolved but when I open target platform state, it is present there. 当我将其添加到我的数据库中时,它并没有得到解决,但是当我打开目标平台状态时,它就在那里。

If I had add the jar to classpath as an external jar from the folder in the target platform, it resolves everything correctly and build is fine. 如果我已将jar作为目标平台中文件夹中的外部jar添加到classpath,则它可以正确解析所有内容,并且构建良好。

Does anyone have any idea what could be causing this? 有谁知道这可能是什么原因? I've tried new target platform definition, new workspace, new Eclipse version etc... I don't think it is an issue with the jar as it is working for the other people in my team. 我已经尝试了新的目标平台定义,新的工作空间,新的Eclipse版本等...我认为jar并不是问题,因为它正在为我团队中的其他人工作。

Eclipse info: Version: 3.7.2 Build id: M20120208-0800 Eclipse的信息:版本:3.7.2版本ID:M20120208-0800

Anyone anything else I should try? 还有其他我应该尝试的吗?

移至linux环境,使用Eclipse 3.8.1消失了。

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

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