You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by DUCHENE Lilian <li...@etnic.be> on 2006/12/07 17:09:21 UTC
Error when I compile the source code
Can you help me ?
I have an error when I compile the source code; After I get the code
from svn, I run the following command "mvn -Dmaven.test.skip=true
-Dprofile=step1 install" but this one finished with this message:
[INFO] [compiler:compile]
Compiling 15 source files to
d:\javadev\openprj\apache-servicemix-source-svn\core\servicemix-core\target\classes
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
d:\javadev\openprj\apache-servicemix-source-svn\core\servicemix-core\src\main\java\org\apache\servicemix\jbi\monitoring\StatisticsService.java:[198,66]
createObjectNameProps(org.apache.serv
management.MBeanInfoProvider) in
org.apache.servicemix.jbi.management.ManagementContext cannot be applied
to (org.apache.servicemix.jbi.monitoring.ComponentStats,boolean)
d:\javadev\openprj\apache-servicemix-source-svn\core\servicemix-core\src\main\java\org\apache\servicemix\jbi\monitoring\StatisticsService.java:[216,68]
createObjectNameProps(org.apache.serv
management.MBeanInfoProvider) in
org.apache.servicemix.jbi.management.ManagementContext cannot be applied
to (org.apache.servicemix.jbi.monitoring.ComponentStats,boolean)
d:\javadev\openprj\apache-servicemix-source-svn\core\servicemix-core\src\main\java\org\apache\servicemix\jbi\monitoring\StatisticsService.java:[234,66]
createObjectNameProps(org.apache.serv
management.MBeanInfoProvider) in
org.apache.servicemix.jbi.management.ManagementContext cannot be applied
to (org.apache.servicemix.jbi.monitoring.EndpointStats,boolean)
d:\javadev\openprj\apache-servicemix-source-svn\core\servicemix-core\src\main\java\org\apache\servicemix\jbi\monitoring\StatisticsService.java:[252,68]
createObjectNameProps(org.apache.serv
management.MBeanInfoProvider) in
org.apache.servicemix.jbi.management.ManagementContext cannot be applied
to (org.apache.servicemix.jbi.monitoring.EndpointStats,boolean)
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: Compilation failure
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:555)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
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:585)
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.CompilationFailureException:
Compilation failure
at
org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:505)
at
org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:111)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
... 16 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 17 seconds
[INFO] Finished at: Thu Dec 07 16:59:15 CET 2006
[INFO] Final Memory: 16M/35M
[INFO]
------------------------------------------------------------------------
Regards,
Lilian.
Re: Error when I compile the source code
Posted by Guillaume Nodet <gn...@gmail.com>.
Sorry about that.
This is fixed now.
On 12/7/06, DUCHENE Lilian <li...@etnic.be> wrote:
> Can you help me ?
>
> I have an error when I compile the source code; After I get the code
> from svn, I run the following command "mvn -Dmaven.test.skip=true
> -Dprofile=step1 install" but this one finished with this message:
>
> [INFO] [compiler:compile]
> Compiling 15 source files to
> d:\javadev\openprj\apache-servicemix-source-svn\core\servicemix-core\target\classes
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
>
> d:\javadev\openprj\apache-servicemix-source-svn\core\servicemix-core\src\main\java\org\apache\servicemix\jbi\monitoring\StatisticsService.java:[198,66]
> createObjectNameProps(org.apache.serv
> management.MBeanInfoProvider) in
> org.apache.servicemix.jbi.management.ManagementContext cannot be applied
> to (org.apache.servicemix.jbi.monitoring.ComponentStats,boolean)
>
> d:\javadev\openprj\apache-servicemix-source-svn\core\servicemix-core\src\main\java\org\apache\servicemix\jbi\monitoring\StatisticsService.java:[216,68]
> createObjectNameProps(org.apache.serv
> management.MBeanInfoProvider) in
> org.apache.servicemix.jbi.management.ManagementContext cannot be applied
> to (org.apache.servicemix.jbi.monitoring.ComponentStats,boolean)
>
> d:\javadev\openprj\apache-servicemix-source-svn\core\servicemix-core\src\main\java\org\apache\servicemix\jbi\monitoring\StatisticsService.java:[234,66]
> createObjectNameProps(org.apache.serv
> management.MBeanInfoProvider) in
> org.apache.servicemix.jbi.management.ManagementContext cannot be applied
> to (org.apache.servicemix.jbi.monitoring.EndpointStats,boolean)
>
> d:\javadev\openprj\apache-servicemix-source-svn\core\servicemix-core\src\main\java\org\apache\servicemix\jbi\monitoring\StatisticsService.java:[252,68]
> createObjectNameProps(org.apache.serv
> management.MBeanInfoProvider) in
> org.apache.servicemix.jbi.management.ManagementContext cannot be applied
> to (org.apache.servicemix.jbi.monitoring.EndpointStats,boolean)
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.BuildFailureException: Compilation failure
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:555)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
> 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:585)
> 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.CompilationFailureException:
> Compilation failure
> at
> org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:505)
> at
> org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:111)
> at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
> ... 16 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 17 seconds
> [INFO] Finished at: Thu Dec 07 16:59:15 CET 2006
> [INFO] Final Memory: 16M/35M
> [INFO]
> ------------------------------------------------------------------------
>
>
> Regards,
> Lilian.
>
--
Cheers,
Guillaume Nodet