简体   繁体   English

Tomcat 到 Tome

[英]Tomcat to Tomee

I have a jsf application using cdi implemented with weld.我有一个使用焊接实现的 cdi 的 jsf 应用程序。 I have been running it successfully on tomcat 8 and I thought using the same app on tomee was just a matter of dropping it into tomee webapp directory without any modification but unfortunately when I do that I get a 404 not found error.我一直在 tomcat 8 上成功运行它,我认为在 tomee 上使用相同的应用程序只是将它放入 tomee webapp 目录而不做任何修改,但不幸的是,当我这样做时,我收到 404 not found 错误。 Please is there anything I am expected to do extra to get tomee working?请问有什么我需要做的额外工作才能让 tomee 工作吗?

In logs you should see myfaces starting and the used binding在日志中,您应该看到 myfaces 启动和使用的绑定

Also ensure to remove weld from the application as well as EE api jars (CDI, annotations,...)还要确保从应用程序以及 EE api jars(CDI、注释等)中删除焊接

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

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