2 Replies Latest reply on Oct 14, 2014 1:59 AM by Sandeep Samdaria

    Wildfly dev environment.

    Sandeep Samdaria Newbie
      Hi,

       

      I was trying to build wildfly-9.0.0.Alpha2-Snapshot using this doc https://developer.jboss.org/wiki/HackingOnWildFly. But, I got the following error below.

      Maven already exists

      Maven is correct version

      ./tools/maven/bin/mvn -s tools/maven/conf/settings.xml install

      [INFO] Scanning for projects...

      [INFO] ------------------------------------------------------------------------

      [INFO] Reactor Build Order:

      [INFO]

      [INFO] WildFly: Parent Aggregator

      ....

       

      [INFO] ------------------------------------------------------------------------

       

      [INFO] Building WildFly: Parent Aggregator 9.0.0.Alpha2-SNAPSHOT

      [INFO] ------------------------------------------------------------------------

      ....

       

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project wildfly-naming: Compilation failure

       

      [ERROR] Cannot read org.jboss.as.naming.logging package files, cause : java.io.FileNotFoundException: org.jboss.as.naming.logging/NamingLogger

      [ERROR] at com.sun.tools.javac.processing.JavacFiler.getResource(JavacFiler.java:464)

      [ERROR] at org.jboss.logging.processor.apt.TranslationClassGenerator.findTranslationFiles(TranslationClassGenerator.java:152)

      [ERROR] at org.jboss.logging.processor.apt.TranslationClassGenerator.processTypeElement(TranslationClassGenerator.java:115)

      [ERROR] at org.jboss.logging.processor.apt.LoggingToolsProcessor.process(LoggingToolsProcessor.java:145)

      [ERROR] at com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:793)

      [ERROR] at com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:722)

      [ERROR] at com.sun.tools.javac.processing.JavacProcessingEnvironment.access$1700(JavacProcessingEnvironment.java:97)

      [ERROR] at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1029)

      [ERROR] at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1163)

      [ERROR] at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1106)

      [ERROR] at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:824)

      [ERROR] at com.sun.tools.javac.main.Main.compile(Main.java:417)

      [ERROR] at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:132)

      [ERROR] at org.codehaus.plexus.compiler.javac.JavaxToolsCompiler.compileInProcess(JavaxToolsCompiler.java:126)

      [ERROR] at org.codehaus.plexus.compiler.javac.JavacCompiler.performCompile(JavacCompiler.java:169)

      [ERROR] at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:785)

      [ERROR] at org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:129)

      [ERROR] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)

      [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)

      [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)

      [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)

      [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)

      [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)

      [ERROR] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)

      [ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)

      [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)

      [ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)

      [ERROR] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)

      [ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)

      [ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)

      [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

      [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      [ERROR] at java.lang.reflect.Method.invoke(Method.java:601)

      [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)

      [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)

      [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)

      [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)

      [ERROR] -> [Help 1]

      [ERROR]

       

      ---

      Environment:

      OS : Ubuntu 12.04(64bit)

       

      Java : version "1.7.0"

       

      Java(TM) SE Runtime Environment (build 1.7.0-b147)

      Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)

       

      Is there something obvious that I am missing? Please let me know.

       

      PS: I wanted to contribute to wildfly project. Any minor/trivial ticket which I can take a look into it as a newbie?

      PPS: I had posted on the wildfly-dev mailing list 3 weeks back, but I still haven't got any response.

       

       

      -Sandeep.