I have Glassfish 4.1 and Eclipse Luna installed on Ubuntu. When I tried to run a simple web application (jsp + servlet + java bean) I`ve received the following error:
Publishing to Glassfish 4 at localhost[domain1].. has encountered a
problem.
cannot Deploy mvcprj1 deploy is failing=Application with
name [mvcprj1] is not deployed
Nothing is appearing neither in the glassfish server log or in the eclipse console.
public String hello()
> run on server > same error, no log... I could reproduce it multiple times whilst creating new projects... Then somehow I tried to enable "Use JAR archives for deployment" - then it worked! Since then I can no more reproduce the error, even while re-installing the whole server!? I doubt that this was really the solution, but perhaps somebody could confirm that? Perhaps it was a problem of Eclipse? – Unit