<mailto:
fachhoch@xxxxxxxxx>> wrote:
> Ok I moved to jetty 7.0.0pre0
>
> I end up with this error.Please help me.
>
>
>
>
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO]
>
------------------------------------------------------------------------
> [INFO] Building audit.war Maven Webapp
> [INFO] task-segment: [jetty:run]
> [INFO]
>
------------------------------------------------------------------------
> [INFO] Preparing jetty:run
> [INFO] [groovy:generateStubs {execution: default}]
> [INFO] No sources found for Java stub generation
> [INFO] [resources:resources]
> [WARNING] Using platform encoding (Cp1252 actually) to copy filtered
> resources, i.e. build is platform dependent!
> [INFO] Copying 218 resources
> [INFO] [compiler:compile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [groovy:compile {execution: default}]
> [INFO] No sources found to compile
> [INFO] [groovy:generateTestStubs {execution: default}]
> [INFO] No sources found for Java stub generation
> [INFO] [resources:testResources]
> [WARNING] Using platform encoding (Cp1252 actually) to copy filtered
> resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory
> E:\workspace\Audit.gov\audit.war\src\test\resources
> [INFO] [compiler:testCompile]
> [INFO] Not compiling test sources
> [INFO] [groovy:testCompile {execution: default}]
> [INFO] Test compiliation is skipped
> [INFO]
>
------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
>
------------------------------------------------------------------------
> [INFO] Failed to configure plugin parameters for:
> org.mortbay.jetty:jetty-maven-plugin:7.0.0pre0
>
>
> Cause: Cannot find setter nor field in
> org.mortbay.jetty.plugin.Jetty6PluginWebAppContext for 'jettyEnvXml'
> [INFO]
>
------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Error
configuring:
> org.mortbay.jetty:jetty-maven-plugin. Reason: Unable to parse the
created
> DOM for plugin configuration
> at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:707)
> at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:553)
> at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:523)
> at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
> at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
> at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
> 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.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.mortbay.jetty:jetty-maven-plugin. Reason: Unable
to parse
> the created DOM for plugin configuration
> at
>
org.apache.maven.plugin.DefaultPluginManager.populatePluginFields(DefaultPluginManager.java:1356)
> at
>
org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:717)
> at
>
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:461)
> at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
> ... 16 more
> Caused by:
>
org.codehaus.plexus.component.configurator.ComponentConfigurationException:
> Cannot find setter nor field in
> org.mortbay.jetty.plugin.Jetty6PluginWebAppContext for 'jettyEnvXml'
> at
>
org.codehaus.plexus.component.configurator.converters.ComponentValueSetter.<init>(ComponentValueSetter.java:68)
> at
>
org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter.processConfiguration(ObjectWithFieldsConverter.java:134)
> at
>
org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter.fromConfiguration(ObjectWithFieldsConverter.java:90)
> 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:1350)
> ... 19 more
> [INFO]
>
------------------------------------------------------------------------
> [INFO] Total time: 4 seconds
> [INFO] Finished at: Mon May 24 14:41:12 EDT 2010
> [INFO] Final Memory: 30M/53M
> [INFO]
>
------------------------------------------------------------------------
>
>
> On Mon, May 24, 2010 at 2:24 PM, Joakim Erdfelt