Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compile error on master branch. #320

Conversation

alexgreenbar
Copy link

@alexgreenbar alexgreenbar commented May 7, 2019

  1. on master branch
  2. run command: $mvn -DskipTests clean package
  3. got error below
    [INFO] Reactor Summary:
    [INFO]
    [INFO] Apache Helix ....................................... SUCCESS [ 1.412 s]
    [INFO] Apache Helix :: Core ............................... SUCCESS [ 26.603 s]
    [INFO] Apache Helix :: Admin Webapp ....................... FAILURE [ 1.061 s]
    [INFO] Apache Helix :: Restful Interface .................. SKIPPED
    [INFO] Apache Helix :: HelixAgent ......................... SKIPPED
    [INFO] Apache Helix :: Recipes ............................ SKIPPED
    [INFO] Apache Helix :: Recipes :: Rabbitmq Consumer Group . SKIPPED
    [INFO] Apache Helix :: Recipes :: Rsync Replicated File Store SKIPPED
    [INFO] Apache Helix :: Recipes :: distributed lock manager SKIPPED
    [INFO] Apache Helix :: Recipes :: distributed task execution SKIPPED
    [INFO] Apache Helix :: Recipes :: service discovery ....... SKIPPED
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 29.705 s
    [INFO] Finished at: 2019-05-09T14:59:00+08:00
    [INFO] Final Memory: 54M/1075M
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project helix-admin-webapp: Compilation failure
    [ERROR] /work/work_area_sandbox/EXEC/alex_opensource/helix/helix-admin-webapp/src/main/java/org/apache/helix/webapp/RestAdminApplication.java:[77,29] error: cannot find symbol
    [ERROR] -> [Help 1]

@narendly
Copy link
Contributor

narendly commented May 7, 2019

Did it not compile on the old version?

@alexgreenbar
Copy link
Author

Did it not compile on the old version?

I've provided more details on PR description.

@narendly
Copy link
Contributor

narendly commented May 9, 2019

I've tried on 2 different machines and it seems to work fine on both. I don't have a problem with bumping up the dependency version, but at this point, I'm convinced that it might be an environment problem.

What version of Apache Maven are you using? Could you also try: mvn clean install package -DskipTests?

@alexgreenbar
Copy link
Author

I still got the same compile error after I did below actions

  1. upgrade my maven from 3.3.1 to 3.6.1, which is the latest version
  2. run command as @narendly suggested, $mvn -DskipTests clean install package

BTW: I use MacOS 10.14.3

@narendly narendly mentioned this pull request May 29, 2019
@junkaixue junkaixue closed this Jul 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants