2 Replies Latest reply on Nov 18, 2011 1:56 PM by Will Reichert

    jboss-as build failure on mac with FileNotFound org.jboss.as.protocol/ProtocolMessages

    Will Reichert Newbie

      I am attempting to build the latest 7.1 code from jboss-as (https://github.com/jbossas/jboss-as) and am encountering an error in mvn install and would appriceate any guidance on next steps. The error occurs when compiling the Protocol module:

       

      I assumed the error was related to finding the properties files for messages however I verified everyone had read permission.

       

      ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project jboss-as-protocol: Compilation failure

      [ERROR] Failure executing javac, but could not parse the error:

      [ERROR] warning: [options] bootstrap class path not set in conjunction with -source 1.6

      [ERROR] error: Cannot read org.jboss.as.protocol package files, cause : java.io.FileNotFoundException: org.jboss.as.protocol/ProtocolMessages

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

      [ERROR] at org.jboss.logging.generator.apt.TranslationClassGenerator.findTranslationFiles(TranslationClassGenerator.java:132)

      [ERROR] at org.jboss.logging.generator.apt.TranslationClassGenerator.processTypeElement(TranslationClassGenerator.java:95)

      [ERROR] at org.jboss.logging.generator.apt.LoggingToolsProcessor.process(LoggingToolsProcessor.java:153)

      [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.main.Main.compile(Main.java:331)

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

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

      [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.compiler.javac.JavacCompiler.compileInProcess(JavacCompiler.java:554)

      [ERROR] at org.codehaus.plexus.compiler.javac.JavacCompiler.compile(JavacCompiler.java:161)

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

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

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

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

      [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:84)

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

      [ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)

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

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

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

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

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

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

      [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:290)

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

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

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