Tuesday, November 20, 2012

Servlet’s class files are not getting generated by ECLIPSE


Go to project properties > Java Compiler 

Then change the “compiler compliance level” of JDK to the one which is not installed in your PC

Uncheck the “Use Default Compliance settings” 

Set the “Generated .class files compatibility” same as “compiler compliance level” 

 Set the “Source Compatibility” same as “compiler compliance level” 

 Then click on “Apply” button and click on “Ok” button 

 Then build your project even if you are getting error. 

 Now again follow the same steps with the “compiler compliance level” of JDK which is installed in your PC  

 Now build your project It will generate the class files now. 

No comments:

Post a Comment