Win a copy of Kotlin for Android App Development this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Devaka Cooray
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Tomcat/Eclipse server problem  RSS feed

 
Ranch Hand
Posts: 36
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried to run web project in eclipse but when i click on run as---->run on server  it opens a window as show in image


When i click finish it shows Ther selection can not be run on any server


please tell what i am doing wrong.
 
Shubham Rai
Ranch Hand
Posts: 36
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Image is not showing so here i am providing link

image1

image2
 
Bartender
Posts: 1093
36
IBM DB2 Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, the very first thing you have to do is fixing all errors Eclipse reports: Eclipse won't let you to run a project with compile / facets errors.
 
Ranch Hand
Posts: 127
5
MS IE Notepad Suse
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's pretty easy one when read carefully: you build your project ontop java 10 - but the server only supports up to EE7. And we all should know what happens when one try to run code compiled by newer compiler to run on older vm: version-error - as java is only backwards compatible.

So, either setup a server matching your build environment - or fix your build to match highest supported server version.
 
WARNING! Do not activate jet boots indoors or you will see a tiny ad:
Programmatically Create PDF Using Free Spire.PDF with Java
https://coderanch.com/wiki/703735/Programmatically-Create-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!