You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2020/03/08 10:25:48 UTC

[GitHub] [skywalking] tankilo commented on issue #4369: apm-webapp compile failed

tankilo commented on issue #4369: apm-webapp  compile failed
URL: https://github.com/apache/skywalking/issues/4369#issuecomment-596189484
 
 
   I also came across this prolem., To be honest, it's very hard to compile this project on Windows.   
   My code is  the latest master branch.   
   If i compile module `apm-webap` alone , the following error will be raised.   
   ``` 
   C:\Coding\Code\Github\skywalking\apm-webapp>mvn clean install -DskipTests -Drat.skip=true
   [INFO] Scanning for projects...
   [INFO]
   [INFO] ------------------------------------------------------------------------
   [INFO] Building apm-webapp 7.0.0-SNAPSHOT
   [INFO] ------------------------------------------------------------------------
   [INFO]
   [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ apm-webapp ---
   [INFO] Deleting C:\Coding\Code\Github\skywalking\apm-webapp\target
   [INFO]
   [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-maven-version) @ apm-webapp ---
   [INFO]
   [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-java) @ apm-webapp ---
   [INFO]
   [INFO] --- os-maven-plugin:1.6.2:detect (default) @ apm-webapp ---
   [INFO] ------------------------------------------------------------------------
   [INFO] Detecting the operating system and CPU architecture
   [INFO] ------------------------------------------------------------------------
   [INFO] os.detected.name: windows
   [INFO] os.detected.arch: x86_64
   [INFO] os.detected.version: 10.0
   [INFO] os.detected.version.major: 10
   [INFO] os.detected.version.minor: 0
   [INFO] os.detected.classifier: windows-x86_64
   [INFO]
   [INFO] --- maven-checkstyle-plugin:3.1.0:check (validate) @ apm-webapp ---
   [INFO] ------------------------------------------------------------------------
   [INFO] BUILD FAILURE
   [INFO] ------------------------------------------------------------------------
   [INFO] Total time: 6.773 s
   [INFO] Finished at: 2020-03-08T18:23:42+08:00
   [INFO] Final Memory: 27M/279M
   [INFO] ------------------------------------------------------------------------
   [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.0:check (validate) on project apm-webapp: Failed during checkstyle configuration: cannot initialize module TreeWalker - cannot initialize module ImportControl - illegal value 'apm-checkstyle/importControl.xml' for property 'file': com.puppycrawl.tools.checkstyle.api.CheckstyleException: Unable to find: apm-checkstyle/importControl.xml -> [Help 1]
   [ERROR]
   [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
   [ERROR] Re-run Maven using the -X switch to enable full debug logging.
   [ERROR]
   [ERROR] For more information about the errors and possible solutions, please read the following articles:
   [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services