且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

“该选择不能在任何服务器上运行"

更新时间:2023-02-24 07:55:41

我知道这有点晚了,但是将来可能会对某人有所帮助.转到Project Facets并确保您选择了正确的Java版本(对于我来说,对于weblogic 12.1.3,应该是1.7)和动态Web模块的版本(对于我来说,应该是3.0,而不是更大).为确保您的应用程序可以运行,请在运行时"选项卡的项目方面中显示该服务器.这肯定会起作用;)

I know that is a bit late, but maybe helps someone in the future. Go to Project Facets and make sure you have select the properly java version(in my case should be 1.7 for weblogic 12.1.3) and the version for Dynamic Web Module(in my case should be 3.0, not bigger). To make sure that your app will run, here in project facets, in Runtimes tab, it will be displayed your server. This will work for sure ;)