score:1
Accepted answer
the problem is that you're using jdk1.8 to compile your code (with target runtime of 1.8).
however, your server is configured to run with jdk 1.6 (you can see it at the top of the console window [ http preview at...])
change your workspace default jre to your jdk 1.8 if you want to use the http preview (i tried and saw no option to specify a runtime jre).
if you want to use tomcat, then specify the correct jre on the first page of the 'new server' wizard.
Source: stackoverflow.com
Related Query
- Web project not running on server on Mac OS X in Eclipse Mars
- Eclipse dynamic web project not running on tomcat server
- Eclipse maven-enabled web app references workspace projects, but those are not deployed when running Tomcat server
- Running web project on HTTP Preview give error: "Could not find JRE executable" on MAC OS X Yosemite
- Tomcat server not running in eclipse with project
- Running web project with tomcat server from eclipse
- Apache Tomcat and Apache TomEE server is not running web projects in eclipse
- In Eclipse running a Java EE Web Server "Servlet" on Tomcat project attempts to deploy extraneous directories
- Not able to build web project when weblgic server is running
- Web project not deploying in eclipse server
- Could not start a A web project for Eclipse Kepler - For MAC OS
- How to disable the "autodeploy" to server feature in an Eclipse web project
- Tomcat is not deploying my web project from Eclipse
- Eclipse project not built on Mac due to 'A resource exists with a different case' error
- Eclipse Maven web application - can not run on server anymore
- Could not create servlet in web application project (google app engine) by using eclipse
- SDK location not found. ANDROID_HOME - building a gradle project in eclipse on a MAC
- A Java web project created with Maven is not recognized as such by Eclipse
- Eclipse Mars not showing Jboss Server
- TFS Eclipse throws an error "The character 0x007c ('|') is not permitted in server paths" after updating visual studio for mac to support iPad OS 13
- Not able to create Dynamic web project in Eclipse Luna
- Eclipse Juno, maven project not able to run on server
- Run on server option does not display in eclipse helios for spring-maven project
- I can't create a new web project in eclipse luna IDE (do not find create new web project)
- Eclipse and Web Project import, run on Server missing!
- Request resource is not found 404 error while running maven project on tomcat in eclipse
- Maven3 eclipse:eclipse does not work - Not running eclipse plugin goal for pom project
- Android Project not running on emulator.in Eclipse
- In dynamic web application project the Eclipse debugger is not hitting breakpoints
- Tomcat server within eclipse not working for Gradle build project
More Query from same tag
- Add specified comment pattern in c
- Eclipse plugin - is there any editable TreeSelection class
- IDE for java in google applications
- how to add a separator in in xtext list?
- Team Explorer Everywhere: Could not execute HistoryAction. java.lang.NullPointerException
- Tell Eclipse to auto-complete only method name?
- shared_ptr cannot be resolved
- Why is Eclipse trying to copy my .svn folders from src to bin, and how can I make it stop?
- How can I parse both Java and C++ in Eclipse?
- Eclipse plugin for working with protobuf
- Eclipse doesn't strike out deprecated classes?
- java/ecplise: org.apache.commons.lang.math not resolved after added to build path
- Extending the Eclipse C Editor with all it's functionalities
- Integrating Eclipse and GitHub
- Error in the pom.xml file for Maven version it shows following error ""
- App force close thenewboston android tutorial
- How to add Play Framework into existing web application in Eclipse
- eclipse jboss 7.1 plugin
- How can I find the version of Scala installed in Eclipse IDE?
- How to force eclipse, to create workspaces in specific path only?
- Adding jars to classpath, Eclipse, Android
- difference between `run as java application` in eclipse and `java -jar yyy.jar` from cmd line?
- How can I change the title of my Eclipse RCP at runtime?
- How to set eclipse with JRE 8?
- Django 1.9a1 __init__.py is visible in eclipse/PyDev even though it should be deleted (Windows)
- Windows 10- In eclipse (Oxygen version), createProcess error=206, The filename or extension is too long
- Maven test in Eclipse fails, but the same test in Jenkins succeded
- material support library, can't find Cardview/Recycleview
- Generating Eclipse project files with Maven
- Importing openshift project into eclipse fails because of private key