Sure, could you refer following links? Thanks!

 
http://mail-archives.apache.org/mod_mbox/maven-users/200602.mbox/%3C1140
[EMAIL PROTECTED]
http://mail-archives.apache.org/mod_mbox/maven-users/200602.mbox/%3C1140
[EMAIL PROTECTED] 

-----Original Message-----
From: Maria Odea Ching [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 04, 2007 3:11 PM
To: Maven Users List
Subject: Re: Met error when compiling java source.

Hi,

Could you provide more info about your problem? :-)

Thanks,
Deng

[EMAIL PROTECTED] wrote:
> Dear all,
>
> Could you help on the following error? Thanks
>
>
> D:\mavenbook\podium-3pl\horizonEJB>mvn compile -e
>
> + Error stacktraces are turned on.
>
> [INFO] Scanning for projects...
>
> [INFO] 
> ----------------------------------------------------------------------
> ------
>
> [INFO] Building Podium3PL :: EJB Application
>
> [INFO]    task-segment: [compile]
>
> [INFO] 
> ----------------------------------------------------------------------
> ------
>
> [INFO] [resources:resources]
>
> [INFO] Using default encoding to copy filtered resources.
>
> [INFO] [compiler:compile]
>
> Compiling 3726 source files to 
> D:\mavenbook\podium-3pl\horizonEJB\target\classes
>
> [INFO] 
> ----------------------------------------------------------------------
> --
>
> [ERROR] BUILD ERROR
>
> [INFO] 
> ----------------------------------------------------------------------
> --
>
> [INFO] Fatal error compiling
>
>  
>
> Embedded error: Error while executing the external compiler.
>
> CreateProcess: CMD.EXE /X /C javac -d 
> D:\mavenbook\podium-3pl\horizonEJB\target\classes -classpath 
> D:\mavenbook\podium-3pl\horizonEJB\target\classes;D:\repo\commons-logg
> ing\commons
>
> -logging\1.0.3\commons-logging-1.0.3.jar;D:\repo\org\apache\geronimo\s
> pecs\geronimo-j2ee_1.4_spec\1.0\geronimo-j2ee_1.4_spec-1.0.jar;D:\repo
> \maven-jaxb-plugin\jaxb-libs\1.0\jaxb-li
>
> bs-1.0.jar;D:\repo\OOCL\3pl\framework_utility\2.02-SNAPSHOT\framework_
> utility-2.02-SNAPSHOT.jar;D:\repo\commons-beanutils\commons-beanutils-
> bean-collections\1.6\commons-beanutils-b
>
> ean-collections-1.6.jar;D:\repo\xerces\xercesImpl\2.8.1\xercesImpl-2.8
> .1.jar;D:\repo\xerces\xerces\1.2.3\xerces-1.2.3.jar;D:\repo\commons-be
> anutils\commons-beanutils-core\1.6\commo
>
> ns-beanutils-core-1.6.jar;D:\repo\com\oracle\toplink\toplink\9.0.4\top
> link-9.0.4.jar;D:\repo\poi\poi\2.5.1-final-20040804\poi-2.5.1-final-20
> 040804.jar;D:\repo\commons-lang\commons-
>
>
lang\2.1\commons-lang-2.1.jar;D:\repo\commons-collections\commons-collec
tions\3.1\commons-collections-3.1.jar;D:\repo\OOCL\3?
>
> [INFO] 
> ----------------------------------------------------------------------
> --
>
> [INFO] Trace
>
> org.apache.maven.lifecycle.LifecycleExecutionException: Fatal error 
> compiling
>
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defau
> ltLifecycleExecutor.java:559)
>
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLif
> ecycle(DefaultLifecycleExecutor.java:475)
>
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defaul
> tLifecycleExecutor.java:454)
>
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHand
> leFailures(DefaultLifecycleExecutor.java:306)
>
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegment
> s(DefaultLifecycleExecutor.java:273)
>
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLif
> ecycleExecutor.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.j
> ava:39)
>
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> orImpl.java:25)
>
>         at java.lang.reflect.Method.invoke(Method.java:324)
>
>         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.MojoExecutionException: Fatal error

> compiling
>
>         at 
> org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerM
> ojo.java:488)
>
>         at 
> org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:111)
>
>         at 
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugin
> Manager.java:412)
>
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defau
> ltLifecycleExecutor.java:534)
>
>         ... 16 more
>
> Caused by: org.codehaus.plexus.compiler.CompilerException: Error while
executing the external compiler.
>
>         at 
> org.codehaus.plexus.compiler.javac.JavacCompiler.compileOutOfProcess(J
> avacCompiler.java:330)
>
>         at 
> org.codehaus.plexus.compiler.javac.JavacCompiler.compile(JavacCompiler
> .java:132)
>
>         at 
> org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerM
> ojo.java:483)
>
>         ... 19 more
>
> Caused by: org.codehaus.plexus.util.cli.CommandLineException: Error
while executing process.
>
>         at 
> org.codehaus.plexus.util.cli.Commandline.execute(Commandline.java:697)
>
>         at 
> org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(Comma
> ndLineUtils.java:74)
>
>         at 
> org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(Comma
> ndLineUtils.java:60)
>
>         at 
> org.codehaus.plexus.compiler.javac.JavacCompiler.compileOutOfProcess(J
> avacCompiler.java:324)
>
>         ... 21 more
>
> Caused by: java.io.IOException: CreateProcess: CMD.EXE /X /C javac -d 
> D:\mavenbook\podium-3pl\horizonEJB\target\classes -classpath 
> D:\mavenbook\podium-3pl\horizonEJB\target\classes
>
> ;D:\repo\commons-logging\commons-logging\1.0.3\commons-logging-1.0.3.j
> ar;D:\repo\org\apache\geronimo\specs\geronimo-j2ee_1.4_spec\1.0\geroni
> mo-j2ee_1.4_spec-1.0.jar;D:\repo\maven-j
>
> axb-plugin\jaxb-libs\1.0\jaxb-libs-1.0.jar;D:\repo\OOCL\3pl\framework_
> utility\2.02-SNAPSHOT\framework_utility-2.02-SNAPSHOT.jar;D:\repo\comm
> ons-beanutils\commons-beanutils-bean-col
>
> lections\1.6\commons-beanutils-bean-collections-1.6.jar;D:\repo\xerces
> \xercesImpl\2.8.1\xercesImpl-2.8.1.jar;D:\repo\xerces\xerces\1.2.3\xer
> ces-1.2.3.jar;D:\repo\commons-beanutils\
>
> commons-beanutils-core\1.6\commons-beanutils-core-1.6.jar;D:\repo\com\
> oracle\toplink\toplink\9.0.4\toplink-9.0.4.jar;D:\repo\poi\poi\2.5.1-f
> inal-20040804\poi-2.5.1-final-20040804.j
>
>
ar;D:\repo\commons-lang\commons-lang\2.1\commons-lang-2.1.jar;D:\repo\co
mmons-collections\commons-collections\3.1\commons-collections-3.1.jar;D:
\repo\OOCL\3?
>
>         at java.lang.Win32Process.create(Native Method)
>
>         at java.lang.Win32Process.<init>(Win32Process.java:66)
>
>         at java.lang.Runtime.execInternal(Native Method)
>
>         at java.lang.Runtime.exec(Runtime.java:566)
>
>         at 
> org.codehaus.plexus.util.cli.Commandline.execute(Commandline.java:692)
>
>         ... 24 more
>
> [INFO] 
> ----------------------------------------------------------------------
> --
>
> [INFO] Total time: 6 seconds
>
> [INFO] Finished at: Wed Apr 04 12:51:41 GMT+08:00 2007
>
> [INFO] Final Memory: 3M/11M
>
> [INFO] 
> ----------------------------------------------------------------------
> --
>
>
>
>
>
>
>
>
> IMPORTANT NOTICE
> Email from OOCL is confidential and may be legally privileged.  If it
is not intended for you, please delete it immediately unread.  The
internet cannot guarantee that this communication is free of viruses,
interception or interference and anyone who communicates with us by
email is taken to accept the risks in doing so.  Without limitation,
OOCL and its affiliates accept no liability whatsoever and howsoever
arising in connection with the use of this email.  Under no
circumstances shall this email constitute a binding agreement to carry
or for provision of carriage services by OOCL, which is subject to the
availability of carrier's equipment and vessels and the terms and
conditions of OOCL's standard bill of lading which is also available at
http://www.oocl.com.
>
> !DSPAM:602,46132fc585051969219952!
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]









IMPORTANT NOTICE
Email from OOCL is confidential and may be legally privileged.  If it is not 
intended for you, please delete it immediately unread.  The internet cannot 
guarantee that this communication is free of viruses, interception or 
interference and anyone who communicates with us by email is taken to accept 
the risks in doing so.  Without limitation, OOCL and its affiliates accept no 
liability whatsoever and howsoever arising in connection with the use of this 
email.  Under no circumstances shall this email constitute a binding agreement 
to carry or for provision of carriage services by OOCL, which is subject to the 
availability of carrier's equipment and vessels and the terms and conditions of 
OOCL's standard bill of lading which is also available at http://www.oocl.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to