0 Replies Latest reply on Sep 30, 2012 12:37 PM by Dan Seaver

    Problem in latest github master?

    Dan Seaver Newbie

      This is the first time I've tried to pull down all of the drools/jbpm projects from github and build. I'm following the instructions in droolsjbpm-build-bootstrap (https://github.com/droolsjbpm/droolsjbpm-build-bootstrap/blob/master/README.md), but run into a NoSuchCompilerException Exception when building the jbpm-human-task-hornetq project.

       

      I tried deleting the cloned jbpm repository and recloning, but I get the same error. Any thoughts as to why this is happening?

       

      Here's the stack trace from the attempted build:

       

      [INFO]

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

      [INFO] Building jBPM :: Human Task - HornetQ 5.4.0-SNAPSHOT

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

      [INFO]

      [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ jbpm-human-task-hornetq ---

      [INFO]

      [INFO] --- maven-enforcer-plugin:1.0.1:enforce (default) @ jbpm-human-task-hornetq ---

      [INFO]

      [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ jbpm-human-task-hornetq ---

      [INFO] Using 'UTF-8' encoding to copy filtered resources.

      [INFO] skip non existing resourceDirectory D:\dev-Drools\github\jbpm\jbpm-human-task\jbpm-human-task-hornetq\src\main\resources

      [INFO]

      [INFO] --- maven-compiler-plugin:2.5:compile (default-compile) @ jbpm-human-task-hornetq ---

      Sep 30, 2012 9:20:58 AM org.sonatype.guice.bean.reflect.Logs$JULSink warn

      WARNING: Error injecting: org.apache.maven.plugin.CompilerMojo

      java.lang.NoClassDefFoundError: org/codehaus/plexus/compiler/manager/NoSuchCompilerException

              at java.lang.Class.getDeclaredConstructors0(Native Method)

              at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)

              at java.lang.Class.getDeclaredConstructors(Class.java:1836)

              at com.google.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:245)

              at com.google.inject.internal.ConstructorBindingImpl.create(ConstructorBindingImpl.java:98)

              at com.google.inject.internal.InjectorImpl.createUninitializedBinding(InjectorImpl.java:629)

              at com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:831)

              at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:758)

              at com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:255)

              at com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:204)

              at com.google.inject.internal.InjectorImpl.getProviderOrThrow(InjectorImpl.java:954)

              at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:987)

              at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:950)

              at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1000)

              at org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:45)

              at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:84)

              at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:52)

              at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70)

              at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)

              at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:138)

              at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:108)

              at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)

              at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68)

              at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)

              at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965)

              at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1011)

              at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961)

              at com.google.inject.Scopes$1$1.get(Scopes.java:59)

              at org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:83)

              at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:49)

              at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:253)

              at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:245)

              at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:455)

              at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:92)

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

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

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

              at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)

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

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

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

              at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)

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

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

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

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

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

              at java.lang.reflect.Method.invoke(Method.java:597)

              at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)

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

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

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

      Caused by: java.lang.ClassNotFoundException: org.codehaus.plexus.compiler.manager.NoSuchCompilerException

              at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)

              at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)

              at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)

              ... 54 more

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

      [INFO] Reactor Summary:

      [INFO]

      [INFO] jBPM multiproject ................................. SUCCESS [1.219s]

      [INFO] jBPM :: Flow ...................................... SUCCESS [24.905s]

      [INFO] jBPM :: Flow Builder .............................. SUCCESS [11.843s]

      [INFO] jBPM :: JPA Persistence ........................... SUCCESS [6.203s]

      [INFO] jBPM :: BAM ....................................... SUCCESS [4.000s]

      [INFO] jBPM :: BPMN2 ..................................... SUCCESS [11.703s]

      [INFO] jBPM :: BPMN2 EMF Extension Model ................. SUCCESS [7.421s]

      [INFO] jBPM :: WorkItems ................................. SUCCESS [7.047s]

      [INFO] jBPM :: Human Task ................................ SUCCESS [0.125s]

      [INFO] jBPM :: Human Task Services ....................... SUCCESS [11.140s]

      [INFO] jBPM :: Human Tasks WorkItems ..................... SUCCESS [3.141s]

      [INFO] jBPM :: Human Task Core ........................... SUCCESS [16.124s]

      [INFO] jBPM :: Human Task - HornetQ ...................... FAILURE [0.359s]

      [INFO] jBPM :: Human Task Apache Mina .................... SKIPPED

      [INFO] jBPM :: Human Task JMS ............................ SKIPPED

      [INFO] jBPM :: Human Task WAR ............................ SKIPPED

      [INFO] jBPM GWT multiproject ............................. SKIPPED

      [INFO] jBPM GWT Console Shared ........................... SKIPPED

      [INFO] jBPM GWT Console Core ............................. SKIPPED

      [INFO] jBPM GWT Console Forms ............................ SKIPPED

      [INFO] jBPM GWT Console Graph Viewer ..................... SKIPPED

      [INFO] jBPM GWT Console WAR .............................. SKIPPED

      [INFO] jBPM Console server WAR ........................... SKIPPED

      [INFO] jBPM GWT Tomcat integration ....................... SKIPPED

      [INFO] jBPM :: Test ...................................... SKIPPED

      [INFO] jBPM examples ..................................... SKIPPED

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

      [INFO] BUILD FAILURE

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

      [INFO] Total time: 1:49.496s

      [INFO] Finished at: Sun Sep 30 09:20:58 PDT 2012

      [INFO] Final Memory: 36M/247M

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