I downloaded Eclipse. When I tried to create a new Dynamic web project I got this error:
This answer is different from this.
I installed Eclipse JEE, and I am trying to create a Dynamic Web Project.
I downloaded Eclipse. When I tried to create a new Dynamic web project I got this error:
This answer is different from this.
I installed Eclipse JEE, and I am trying to create a Dynamic Web Project.
It's probably because you are not specifying any Target Runtime and the default configuration probably is on an older version.
You can try to configure a new Runtime Environment like below and select it to create your project after with it.
Then you select your server (the example is done with Tomcat but other servers should be similar):
Then select the JRE associated to your runtime:
And finish by creating your Target runtime and use it, it should solve the problem:
Hope it helped!
PS:
You can also configure your Target runtime in Windows->Preferencces->Server->Runtime Environments