Vaadin 6 and maven integration results in 404 resource not available error -


I am developing a Vatican Hello user application with vaadin 6.8.5 jar. it works fine. But when I convert the project to Maven, shows 404 HTTP status reports with error in the form of the resource. Please suggest any suggestion to fix this problem.

My daily application

  Application in public class teston model {/ ** * * / Private static final big serial warsion UID = 1 L ; @ Override Public What's Init (Windows) {Window Main Window = New Window ("Sampletest App"); Label label = new label ("Hello plaintiff user"); mainWindow.addComponent (labeled); SetMainWindow (MainWindow); }}   

Web.xml

  & lt; Servlet & gt; & Lt; Servlet-name & gt; Template application & lt; / Servlet-name & gt; & Lt; Servlet category & gt; com.vaadin.terminal.gwt.server.ApplicationServlet & lt; / Servlet category & gt; & Lt; Init-param & gt; & Lt; Description & gt; Vaudin application class launches & lt; / Description & gt; & Lt; Ultimate Name & gt; Application & lt; / Lastname & gt; & Lt; Ultimate Price & gt; com.example.services.TestsampleApplication & lt; / Super-valued & gt; & Lt; / Init-param & gt; & Lt; / Servlet & gt; & Lt; Servlet-mapping & gt; & Lt; Servlet-name & gt; Template application & lt; / Servlet-name & gt; & Lt; URL pattern & gt; / * & Lt; / URL pattern & gt; & Lt; / Servlet-mapping & gt;   

Regards, M.Design

Your application class in the web The .xml hawa name SampleStep applying :

  & lt; param-price & gt; com.example.services.SampletestApplication & lt; / Param-value & gt;   

And in your example, there are testmales names in the appicion class:

  increases the public class testmand application {  

They should have the same name.

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -