SonarQube ClassNotFound

时间:2015-10-07 07:34:24

标签: sonarqube sonarqube5.1

在使用夜间构建作业运行SonarQube 5.1.2时出现以下错误

[ERROR] [01:39:46.669] Class not found: javax.el.ELContext
[ERROR] [01:39:46.672] Class not found: javax.el.ELResolver
[ERROR] [01:39:46.673] Class not found: javax.el.ValueExpression
[ERROR] [01:39:46.674] Class not found: javax.el.ExpressionFactory
[ERROR] [01:39:46.674] Class not found: javax.el.ELException
[ERROR] [01:39:46.674] Class not found: javax.el.ELContextListener
[ERROR] [01:40:23.297] Class not found: javax.servlet.ServletOutputStream
[ERROR] [01:40:23.778] Class not found: javax.json.JsonObject

请告知您处理此类错误的最佳方法是什么?

1 个答案:

答案 0 :(得分:2)

我能够通过添加

来解决这些问题
    <dependency>
        <groupId>javax.el</groupId>
        <artifactId>javax.el-api</artifactId>
        <scope>provided</scope>
    </dependency>