Eclipse- Dynamic Web Module 3.0 requires Java 1.6 or newer error while creating new project

后端 未结 15 1277
后悔当初
后悔当初 2020-12-29 04:51

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

15条回答
  •  生来不讨喜
    2020-12-29 05:16

    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) enter image description here

    Update:
    * Check JAVA_HOME Environment variable
    or
    * Edit eclipse.ini file (tutorial: http://wiki.eclipse.org/Eclipse.ini ) find section: -vm value

提交回复
热议问题