Show
In Eclipse:
Ctrl +5, choose project -new
Select "Java Library" as the project type
Press Next
Press Back
Select "Java Web Application" as the project type
Press Next
an error is thrown.
The correct behavior would be the "Next" button to be disabled when the project type is changed to Java Web Application