Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse + Java 8 + Dynamic Web Module

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!

like image 652
Serzhas Avatar asked Jan 31 '14 11:01

Serzhas


People also ask

Where is dynamic Web module Eclipse?

Step 5: After which Review License Dialog box appears -> Accept the license agreement and click Finish. Restart the eclipse and now go to File -> New -> Other -> Web and you will see Dynamic Web project will be available.

What is dynamic web module in eclipse?

Last updated : August 22, 2022. Dynamic web projects use server-side scripting, meaning each user request is processed differently by the server and render different outcomes based on parameters.


1 Answers

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

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

For those features, use these sites:

  • Maven (M2E) 1.4.1 (org.eclipse.m2e.feature) http://download.eclipse.org/technology/m2e/releases/1.4/1.4.1.20140328-1905

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

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

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

like image 172
nickboldt Avatar answered Nov 01 '22 06:11

nickboldt