[b]
Hello All,
Thank you for your help.
We are currently trying to migrate our web UI to tomcat. When we upload the war file and navigate to the page we get the message below:
when we compile with mvn using mvn tomcat:run the UI displays fine. But when we compile using mvn tomcat:run-war it fails and we get the same message below.
[/b]
HTTP Status 500 - java.lang.VerifyError: (class: com/vaadin/server/Page, method: getJavaScript signature: ()Lcom/vaadin/ui/JavaScript;) Incompatible argument to function
--------------------------------------------------------------------------------
type Exception report
message java.lang.VerifyError: (class: com/vaadin/server/Page, method: getJavaScript signature: ()Lcom/vaadin/ui/JavaScript;) Incompatible argument to function
description The server encountered an internal error that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: java.lang.VerifyError: (class: com/vaadin/server/Page, method: getJavaScript signature: ()Lcom/vaadin/ui/JavaScript;) Incompatible argument to function
com.vaadin.server.VaadinServlet.handleServiceException(VaadinServlet.java:580)
com.vaadin.server.VaadinServlet.service(VaadinServlet.java:343)
com.vaadin.server.VaadinServlet.service(VaadinServlet.java:201)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
root cause
java.lang.VerifyError: (class: com/vaadin/server/Page, method: getJavaScript signature: ()Lcom/vaadin/ui/JavaScript;) Incompatible argument to function
com.vaadin.ui.UI.<init>(UI.java:116)
com.vaadin.ui.UI.<init>(UI.java:162)
com.barcap.esit.lisa.MyVaadinUI.<init>(MyVaadinUI.java:13)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:525)
java.lang.Class.newInstance0(Class.java:372)
java.lang.Class.newInstance(Class.java:325)
com.vaadin.server.UIProvider.createInstance(UIProvider.java:33)
com.vaadin.server.AbstractCommunicationManager.getBrowserDetailsUI(AbstractCommunicationManager.java:2446)
com.vaadin.server.AbstractCommunicationManager.handleBrowserDetailsRequest(AbstractCommunicationManager.java:2352)
com.vaadin.server.VaadinServlet.service(VaadinServlet.java:325)
com.vaadin.server.VaadinServlet.service(VaadinServlet.java:201)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.35 logs.
--------------------------------------------------------------------------------