Issue http://jira.codehaus.org/browse/MGWT-325

138 views
Skip to first unread message

Anderson Aroeira Araujo

unread,
May 10, 2012, 6:55:23 AM5/10/12
to codehaus-mojo-gwt-...@googlegroups.com
Hi everybody,

Anybody has found a workaround for this issue?
I want to upgrade my application to GWT 2.4, Spring 3.1.1 and Hibernate 4, but when I execute clean gwt:run many exceptions like java.lang.ClassCastException: org.hibernate.dialect.DerbyDialect incompatible with org.hibernate.dialect.Dialect or Caused by: java.lang.ClassCastException: org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory cannot be cast to org.hibernate.hql.spi.QueryTranslatorFactory show up in the console.

Thanks in advance


Thomas Broyer

unread,
May 10, 2012, 9:59:30 AM5/10/12
to codehaus-mojo-gwt-...@googlegroups.com
I stumbled upon runClasspathExclude the other day, isn't it the solution/workaround to this problem?

Anderson Aroeira Araujo

unread,
May 10, 2012, 11:56:25 AM5/10/12
to codehaus-mojo-gwt-...@googlegroups.com
Hi Thomas,

Thanks for replying, but the runClasspathExcludes does'nt help. I tried different values but no success.
My plugin configuration is like this:

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>${gwt-maven-plugin.version}</version>
<configuration>
<hostedWebapp>${gwt.output.directory}</hostedWebapp>
<runTarget>index.html</runTarget>
<deploy>${project.build.directory}/${project.build.finalName}</deploy>
<bindAddress>0.0.0.0</bindAddress>
<inplace>true</inplace>
<runClasspathExcludes>
<runClasspathExclude>**/cglib-nodep-2.2.2.jar</runClasspathExclude>
<runClasspathExclude>**/cglib-nodep-2.2.2</runClasspathExclude>
<runClasspathExclude>cglib-nodep-2.2.2.jar</runClasspathExclude>
</runClasspathExcludes>
</configuration>
<executions>
<execution>
<goals>
<goal>compile</goal>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>

Thanks!
Reply all
Reply to author
Forward
0 new messages