| The selection cannot be run on any server [message #1016074] |
Mon, 04 March 2013 15:17  |
Bernard Abramson Messages: 6 Registered: July 2009 |
Junior Member |
|
|
I'm running Juno on an iMAC with all software at current releases.
I have installed the WTP tools and can edit source in JavaScript and HTML5. I can "run" HTML5 code by right clicking on the project and choosing Open with > Web browser.
However, when I click the Run icon I get the pop up "The selection cannot be run on any server." which is correct as Eclipse > Preferences > Server > Runtime Environments is empty. However Jetty and Apache are listed in the plugins. How do I configure Eclipse to "see" either Jetty or Apache so I can run on these as internal severs?
|
|
|
|
|
|
|
|
|
| Re: The selection cannot be run on any server [message #1016232 is a reply to message #1016218] |
Tue, 05 March 2013 09:59   |
Russell Bateman Messages: 2732 Registered: July 2009 Location: Provo, Utah, USA |
Senior Member |

|
|
On 3/5/2013 7:28 AM, Bernard Abramson wrote:
> Thank you for the reply. Yes, I had set the project up as a static web
> project. I now have it running in a local J2EE preview server but
> cannot get the local HTTP preview server to run. Presumably I haven't
> installed some Jetty component.
>
> My real issue is why is this so obscure. There ought to be step by step
> instructions. I have used Eclipse to develop simple apps in several
> languages and in every case (except C) I had to obtain expert guidance
> and install special plug-ins etc. Simple tasks ought to be
> accomplished simply. With Eclipse this does not appear to be the case.
Eclipse resources are a very good basis, but they tend to document not
synthesize and you're asking for synthesis.
You might find such help, you just have to stumble upon it. Google is
your friend. Sometimes, stackoverflow.com is remarkably helpful. In my
opinion, the best helps for Eclipse aren't to be found from eclipse.org,
but from developers who've gone to the trouble to write tutorials, some
of them very good like http://www.vogella.de. I do some of that (not as
good as Lars Vogel) on my own site and there are many others too.
I'm eager to help you, but I'm more on the Java/JEE side of things. I
write (mostly static) HTML and CSS web pages to help others out, but I'm
not a specialist and I just use Vim to do it--not Eclipse.
I hope you find some better help soon.
Best regards,
Russ
|
|
|
| Re: The selection cannot be run on any server [message #1016270 is a reply to message #1016232] |
Tue, 05 March 2013 13:41   |
Bernard Abramson Messages: 6 Registered: July 2009 |
Junior Member |
|
|
Problem "solved". It seems the trick is to install the entire Web, XML, Java EE and OSGi Enterprise Development software. I had only installed the components that looked as though they were needed. Nevertheless, the first install failed with errors on PHP tools, so I unchecked these and ran it again. I can now test HTML5 in Eclipse using the HTTP Preview Server.
Thanks to everyone who responded.
[Updated on: Tue, 05 March 2013 13:42] Report message to a moderator
|
|
|
| Re: The selection cannot be run on any server [message #1016275 is a reply to message #1016270] |
Tue, 05 March 2013 14:01  |
Russell Bateman Messages: 2732 Registered: July 2009 Location: Provo, Utah, USA |
Senior Member |

|
|
On 3/5/2013 11:41 AM, Bernard Abramson wrote:
> Problem "solved". It seems the trick is to install the entire Web, XML,
> Java EE and OSGi Enterprise Development software. I had only installed
> the components that looked as though they were needed. Nevertheless,
> the first install failed with errors on PHP tools, so I unchecked these
> and ran it again. I can now test HTML5 in Eclipse using the HTTP
> Preview Server.
I would have had the same problem because I'm a bit of a minimalist myself.
So, down the road, if you ever feel like writing a tutorial, it will
apparently be very welcome to the next guy.
|
|
|
Powered by
FUDForum. Page generated in 0.09634 seconds