简体   繁体   English

eclipse的jsf:找不到引用项目的库

[英]jsf with eclipse: Library of referenced project not found

I have started a JSF project with Eclipse Indigo and Apache Tomcat 7 which references an other java project which depends on joda time. 我已经使用Eclipse Indigo和Apache Tomcat 7启动了一个JSF项目,该项目引用了另一个依赖于joda时间的java项目。 When I run the jsf project I get a NoClassDefFoundError for org/joda/time/DateTime. 当我运行jsf项目时,我得到org / joda / time / DateTime的NoClassDefFoundError。 I tried to deploy the library with the java as well as with the jsf project with no success. 我尝试使用Java以及jsf项目部署该库,但均未成功。 Adding it as deployment assembly or to to Tomcat's lib folder didn't help. 将其添加为部署程序集或添加到Tomcat的lib文件夹并没有帮助。

Can anyone help me get this to work? 谁能帮我让这个工作?

Cheers, AC AC,干杯

I couldn't figure out how to fix the problem with multiple projects so I merged all projects into one and now it works. 我不知道如何解决多个项目的问题,所以我将所有项目合并为一个,现在它可以工作了。

If someone knows a solution for the original problem I'd still be interrested to hear about it. 如果有人知道原始问题的解决方案,那么我仍然会被感动而听到。

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

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