Home > Blockchain >  in my eclipse its showing red cross error on each project.how to fix it?
in my eclipse its showing red cross error on each project.how to fix it?

Time:12-29

I removed tomcat server after going into windows-->preferences-->server-->run time environmentsThe Server Runtime Environment preference page, after downloading Tomcat 9 and 10.

  1. Open the Java Build Path property page of your project and select the Classpath node. Unless you select that node, the buttons to Add a Library won't enable.

The Property page with the right node selected. The Add Library button enables.

  1. Select the Server Runtime type of Library from the list. Continue through the later pages in the dialog until you've selected the runtime you intended. Once finished, your Servlets will be recompiled the next time a build happens.

The Add Library page, showing a variety of library types.

CodePudding user response:

i fond the solution for this.to solve this issue just right click on project name and go to properties and then click on project facets. After that click on runtimes and tick on Apache tomcat and and jre and then apply.done.enter image description here

  • Related