Sonar 分析工程时出现错误 Hibernate的错误

错误内容如下:[code][INFO] [sonar-core:internal {execution: default-internal}]
[INFO] Database dialect class org.sonar.api.database.dialect.Derby
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Can not execute Sonar

Embedded error: Can not analyze the project
Unresolved compilation problems:
The import org.hibernate.hql.antlr.HqlSqlTokenTypes cannot be resolved
The import org.hibernate.hql.antlr.HqlTokenTypes cannot be resolved
The import org.hibernate.hql.antlr.SqlTokenTypes cannot be resolved
The method getAST() is undefined for the type HqlSqlWalker
The method statement(AST) is undefined for the type SqlGenerator
The method getAST() is undefined for the type HqlParser
The method statement(AST) is undefined for the type HqlSqlWalker
SqlTokenTypes cannot be resolved to a type
The method getAST() is undefined for the type HqlSqlWalker
The method setFilter(boolean) is undefined for the type HqlParser
The method statement() is undefined for the type HqlParser
The method getAST() is undefined for the type HqlParser
HqlTokenTypes cannot be resolved to a type
The method getAST() is undefined for the type HqlSqlWalker
The method getStatementType() is undefined for the type HqlSqlWalker
HqlSqlTokenTypes cannot be resolved
The method getStatementType() is undefined for the type HqlSqlWalker
HqlSqlTokenTypes cannot be resolved
The method getStatementType() is undefined for the type HqlSqlWalker
HqlSqlTokenTypes cannot be resolved
HqlTokenTypes cannot be resolved
HqlTokenTypes cannot be resolved

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 43 seconds
[INFO] Finished at: Sun May 09 12:59:04 EDT 2010
[INFO] Final Memory: 12M/22M
[INFO] ------------------------------------------------------------------------
D:\workdir\testing\my-app>[/code][attach]907[/attach]