java.lang.VerifyError

Hi guys,

I am getting this error when deploying to a Tomcat 7 server and I can’t find a way to fix it.

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:155)
com.vaadin.ui.UI.<init>(UI.java:185)
dp.webadmin.WebAdminMainUI.<init>(WebAdminMainUI.java:40)

Any suggestions?

Thanks,
Francesco

Sounds like you have multiple, conflicting Vaadin versions on the classpath

Thanks, that was it

How do you solved?

Remove from ivy.xml jpacontainer-addon-agpl-3.0 dependency.
Add
if u use JPAContainerFactory