When I run the application and build it. It doesn't show any error but when I access my application the following error comes in the console.
Description Resource Path Location Type Target runtime Apache Tomcat v7.0 is not defined. MyProject Unknown Faceted Project Problem
Can someone help me with this.
You need to go to Help>Eclipse Marketplace . Then type server in the search box it will display Eclipse JST Server Adapters (Apache Tomcat,...) . Select that one and install it . Then go back to Window>Preferences>Server>Runtime Environnement, click add choose Apache tomcat version then add the installation directory .
Installing server runtimeStart the Eclipse WTP workbench. Open Window -> Preferences -> Server -> Installed Runtimes to create a Tomcat installed runtime. Click on Add... to open the New Server Runtime dialog, then select your runtime under Apache (Apache Tomcat v5. 0 in this example):
The targeted runtime version must be updated. Suppose you are using Tomcat Version 8.0 but in the targeted runtime it shows 7.0 selected.
You need to right click on your project > Properties > Targeted Runtime > Click the version required 8.0 I guess. Hope it helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With