部署war时,querydsl上的StackOverflowError

时间:2013-12-04 10:50:17

标签: java jdbctemplate querydsl stack-overflow

战争在本地和服务器测试中运行良好。 但是当在新的服务器应用程序上部署战争时,我收到以下错误:

 GRAVE: Servlet.service() for servlet [default] in context with path [/App] threw exception [java.lang.StackOverflowError] with root cause
java.lang.StackOverflowError
    at com.mysema.query.types.Templates.getTemplate(Templates.java:228)
    at com.mysema.query.support.SerializerBase.visitOperation(SerializerBase.java:218)
    at com.mysema.query.sql.SQLSerializer.visitOperation(SQLSerializer.java:559)
    at com.mysema.query.support.SerializerBase.visit(SerializerBase.java:199)
    at com.mysema.query.support.SerializerBase.visit(SerializerBase.java:26)
    at com.mysema.query.types.expr.BooleanOperation.accept(BooleanOperation.java:44)
    at com.mysema.query.support.SerializerBase.handle(SerializerBase.java:83)
    at com.mysema.query.support.SerializerBase.visitOperation(SerializerBase.java:244)
    at com.mysema.query.sql.SQLSerializer.visitOperation(SQLSerializer.java:559)
    at com.mysema.query.support.SerializerBase.visit(SerializerBase.java:199)
    at com.mysema.query.support.SerializerBase.visit(SerializerBase.java:26)
    at com.mysema.query.types.expr.BooleanOperation.accept(BooleanOperation.java:44)
    at com.mysema.query.support.SerializerBase.handle(SerializerBase.java:83)
    at com.mysema.query.support.SerializerBase.visitOperation(SerializerBase.java:244)
    at com.mysema.query.sql.SQLSerializer.visitOperation(SQLSerializer.java:559)
    at com.mysema.query.support.SerializerBase.visit(SerializerBase.java:199)
    at com.mysema.query.support.SerializerBase.visit(SerializerBase.java:26)
    at com.mysema.query.types.expr.BooleanOperation.accept(BooleanOperation.java:44)
    at com.mysema.query.support.SerializerBase.handle(SerializerBase.java:83)
    at com.mysema.query.support.SerializerBase.visitOperation(SerializerBase.java:244)
    at com.mysema.query.sql.SQLSerializer.visitOperation(SQLSerializer.java:559)
    at com.mysema.query.support.SerializerBase.visit(SerializerBase.java:199)
    at com.mysema.query.support.SerializerBase.visit(SerializerBase.java:26)
    at com.mysema.query.types.expr.BooleanOperation.accept(BooleanOperation.java:44)
    at com.mysema.query.support.SerializerBase.handle(SerializerBase.java:83)
    at com.mysema.query.support.SerializerBase.visitOperation(SerializerBase.java:244)
    at com.mysema.query.sql.SQLSerializer.visitOperation(SQLSerializer.java:559)
    at com.mysema.query.support.SerializerBase.visit(SerializerBase.java:199)
    at com.mysema.query.support.SerializerBase.visit(SerializerBase.java:26)
    at com.mysema.query.types.expr.BooleanOperation.accept(BooleanOperation.java:44)
    at com.mysema.query.support.SerializerBase.handle(SerializerBase.java:83)
    at com.mysema.query.support.SerializerBase.visitOperation(SerializerBase.java:244)
    at com.mysema.query.sql.SQLSerializer.visitOperation(SQLSerializer.java:559)
    at com.mysema.query.support.SerializerBase.visit(SerializerBase.java:199)
    at com.mysema.query.support.SerializerBase.visit(SerializerBase.java:26)
    at com.mysema.query.types.expr.BooleanOperation.accept(BooleanOperation.java:44)
    at com.mysema.query.support.SerializerBase.handle(SerializerBase.java:83)
    at com.mysema.query.support.SerializerBase.visitOperation(SerializerBase.java:244)
    at com.mysema.query.sql.SQLSerializer.visitOperation(SQLSerializer.java:559)
    at com.mysema.query.support.SerializerBase.visit(SerializerBase.java:199)
    at com.mysema.query.support.SerializerBase.visit(SerializerBase.java:26)

使用的querydsl版本是:2.2.2。 没有与我的代码相关的异常被提出!

0 个答案:

没有答案