guluo created AMBARI-26357:
------------------------------
Summary: Errors occur when compiling ambari after upgrading jetty
Key: AMBARI-26357
URL: https://issues.apache.org/jira/browse/AMBARI-26357
Project: Ambari
Issue Type: Bug
Components: ambari-sever
Reporter: guluo
Compiling ambari by the following command.
mvn clean install rpm:rpm -DskipTests -Drat.skip=true
-DbuildNumber=5895e4ed6b30a2da8a90fee2403b6cab91d19972
Some errors occur, as follow.
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.5:testCompile
(default-testCompile) on project ambari-server: Compilation failure:
Compilation failure:
[ERROR]
/root/code/ambari/ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariServerTest.java:[167,39]
cannot find symbol
[ERROR] symbol: class GzipFilter
[ERROR] location: class org.apache.ambari.server.controller.AmbariServerTest
[ERROR]
/root/code/ambari/ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariServerTest.java:[183,39]
cannot find symbol
[ERROR] symbol: class GzipFilter
[ERROR] location: class org.apache.ambari.server.controller.AmbariServerTest
[ERROR]
/root/code/ambari/ambari-server/src/test/java/org/apache/ambari/server/audit/request/DefaultEventCreatorTest.java:[128,101]
<anonymous org.apache.ambari.server.audit.request.DefaultEventCreatorTest$2>
is not abstract and does not override abstract method getServletConnection() in
jakarta.servlet.ServletRequest
[ERROR]
/root/code/ambari/ambari-server/src/test/java/org/apache/ambari/server/audit/request/DefaultEventCreatorTest.java:[253,7]
method does not override or implement a method from a supertype
[ERROR]
/root/code/ambari/ambari-server/src/test/java/org/apache/ambari/server/audit/request/DefaultEventCreatorTest.java:[411,7]
method does not override or implement a method from a supertype
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]