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 requires Java 1.6 or newer
I have java compiler version as 1.7 and SDK version 1.7.
This is late answer. But may help to other. If you are using Maven
based project. You just include following code in pom.xml
file. It can be resolved.
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
</build>
Update: Similarly if you are using jdk version 1.8 just include it in your <source>
and <target>
tags.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With