I am not able to create a new Dynamic Web Project in eclipse indigo. I am getting the following error while creating new one.
Dynamic Web Module 3.0 r
Just Change "the dynamic web module version" to 2.5 and than change it back to 3.0 and the error disappears. It worked fine for me.
I followed the steps in the link and it worked for me solving-dynamic-web-module-3.0 requires java 1.6 or newer in maven projects
I don't know if this might work for you guys, but here is my case:
java -version
but I got the same same error on eclipse. I dont know the reason though.
Answer was correct :), But slightly need a correction.
--> Enable Java compiler to 1.7
--> Facet check java (do not check Dynamic module)
--> Last step check Dynamic module
:)...
after you enable java compiler to 1.7 then go to facet then first check java instead of Dynamic module. Then it will allow you to check the Dynamic module.
Follow below steps and all errors will be gone -
1- Right-click on your project folder 2- Click properties 3- Click Java Build Path 4- Click Libraries 5- Select JRE system library 6- Click the edit button on the right 7- Select alternate JRE 8- From the drop-down select the installed JRE and all errors will be gone
Because Dynamic Web Module 3.0 requires Java 1.6 or newer. (Dynamic Web Module version 3.0 refer Serverlet 3.0)
You should
* Download and install newer JDK (JDK 1.8u20)
* Download and install newer Eclipse: Eclipse IDE for Java EE Developers Luna (4.4)
Update:
* Check JAVA_HOME
Environment variable
or
* Edit eclipse.ini
file (tutorial: http://wiki.eclipse.org/Eclipse.ini ) find section: -vm value