Eclipse + Java 8 +动态Web模块 [英] Eclipse + Java 8 + Dynamic Web Module

查看:155
本文介绍了Eclipse + Java 8 +动态Web模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚开始一个新项目,并考虑到Java 8,因为最新的Spring Framework 4.0支持它,而且直到最后发布这个游戏才不久。_
目前我们正在使用STS 3.4(基于Eclipse 4.3.1)和我已经安装了最新的JDK8和Java 8(BETA)支持。简单的项目似乎发现自己在家中与Java 8,但不是UI项目(动态Web模块3.0,部署在服务器上)。我收到错误,编译器版本(1.8 BETA)与安装的项目构面Java(1.7)不匹配。在Java项目facet中没有这样的选项1.8... _
有没有人成功使用Java 8运行UI项目?_
谢谢!

I'm starting a new project and considering moving to Java 8 already, since newest Spring Framework 4.0 supports it, and it's not so long until final release this march.
Currently we are using STS 3.4 (Eclipse 4.3.1 based) and I have installed latest JDK8 and Java 8 (BETA) support. Simple projects seems to find themselves at home with Java 8, but not UI project (Dynamic Web Module 3.0, the one deployed on server). I'm getting error that compiler version (1.8 BETA) doesn't match installed project facet "Java" (1.7). And there is no such option "1.8" in "Java" project facet...
Have anybody succeeded running UI project with Java 8?
Thanks!

推荐答案

您是否尝试从这里安装WTP的org.eclipse.jst.common.fproj.enablement.jdt.feature.patch?

Have you tried to install WTP's org.eclipse.jst.common.fproj.enablement.jdt.feature.patch from here?

http: //download.eclipse.org/webtools/patches/drops/R3.5.2/P-3.5.2-20140329045715/repository

你也可能想要在Maven,PDE和JDT中支持Java 8。

You might also want support for Java 8 in Maven, PDE, and JDT.

对于这些功能,请使用以下网站:

For those features, use these sites:

JDT& PDE功能补丁: http://download.eclipse.org/eclipse/updates/4.3-P-builds /

JDT & PDE Feature patches : http://download.eclipse.org/eclipse/updates/4.3-P-builds/

如果您碰巧是JBoss Tools的粉丝,那么它直接来到JBoss Central:

If you happen to be a fan of JBoss Tools, it's coming directly to JBoss Central:

https://issues.jboss.org/browse/JBIDE -17002

这篇关于Eclipse + Java 8 +动态Web模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆