1 Reply Latest reply: Jan 19, 2012 5:01 PM by Christian Sadilek RSS

SOLVED: Local build issue?

David Grigglestone Newbie

I grabbed a zip from: https://github.com/errai/errai (master) and tried a local build (please bear with me .. just coming up to speed with maven) .. I got the following that I'd appreciate any ideas on:

 

$ mvn -e clean install

[INFO] Scanning for projects...

[INFO] Reactor build order:

[INFO]   Errai

[INFO]   Errai::Common

[INFO]   Errai::Codegen

[INFO]   Errai Marshalling

[INFO]   Errai::Bus

[INFO]   Errai::Tools

[INFO]   Errai IOC

[INFO]   Errai::Bus::Demos

[INFO]   Errai::Bus::Demos::AsyncDemo

[INFO]   Errai::Bus::Demos::ClientService

[INFO]   Errai::Bus::Demos::HelloWorld

[INFO]   Errai::Bus::Demos::QueryService

[INFO]   Errai::Bus::Demos::Serialization

[INFO]   Errai::Bus::Demos::RPCDemo

[INFO]   Errai::Bus::Demos::StockDemo

[INFO]   Unnamed - org.jboss.errai:jboss7-support:jar:2.0-SNAPSHOT

[INFO]   Errai JS

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

[INFO] Building Errai

[INFO]    task-segment: [clean, install]

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

[INFO] [clean:clean {execution: default-clean}]

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

[ERROR] BUILD ERROR

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

[INFO] Failed to configure plugin parameters for: org.jboss.errai:jacoco-gwt-maven-plugin:0.5.4-SNAPSHOT

 

 

 

Cause: Class 'java.util.List' cannot be instantiated

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

[INFO] Trace

org.apache.maven.lifecycle.LifecycleExecutionException: Error configuring: org.jboss.errai:jacoco-gwt-maven-plugin. Reason: Unable to parse the created DOM for plugin configuration

    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:723)

    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)

    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)

    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)

    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)

    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)

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

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

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

    at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)

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

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

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

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

    at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)

    at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)

    at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

    at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

Caused by: org.apache.maven.plugin.PluginConfigurationException: Error configuring: org.jboss.errai:jacoco-gwt-maven-plugin. Reason: Unable to parse the created DOM for plugin configuration

    at org.apache.maven.plugin.DefaultPluginManager.populatePluginFields(DefaultPluginManager.java:1363)

    at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:724)

    at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:468)

    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)

    ... 17 more

Caused by: org.codehaus.plexus.component.configurator.ComponentConfigurationException: Class 'java.util.List' cannot be instantiated

    at org.codehaus.plexus.component.configurator.converters.AbstractConfigurationConverter.instantiateObject(AbstractConfigurationConverter.java:121)

    at org.codehaus.plexus.component.configurator.converters.composite.CollectionConverter.fromConfiguration(CollectionConverter.java:73)

    at org.codehaus.plexus.component.configurator.converters.ComponentValueSetter.configure(ComponentValueSetter.java:247)

    at org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter.processConfiguration(ObjectWithFieldsConverter.java:137)

    at org.codehaus.plexus.component.configurator.BasicComponentConfigurator.configureComponent(BasicComponentConfigurator.java:56)

    at org.apache.maven.plugin.DefaultPluginManager.populatePluginFields(DefaultPluginManager.java:1357)

    ... 20 more

Caused by: java.lang.InstantiationException: java.util.List

    at java.lang.Class.newInstance0(Class.java:357)

    at java.lang.Class.newInstance(Class.java:325)

    at org.codehaus.plexus.component.configurator.converters.AbstractConfigurationConverter.instantiateObject(AbstractConfigurationConverter.java:111)

    ... 25 more

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

[INFO] Total time: 1 second

[INFO] Finished at: Thu Jan 19 16:12:09 EST 2012

[INFO] Final Memory: 17M/173M

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