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 Web.xml Regards, M.Design Your application class in the web The .xml hawa name SampleStep applying : And in your example, there are testmales names in the appicion class: They should have the same name.
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); }}
& 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;
& lt; param-price & gt; com.example.services.SampletestApplication & lt; / Param-value & gt;
increases the public class testmand application {
Comments
Post a Comment