问题描述
我是利用ant来运行的,在命令提示符中的运行信息如下:G:Program Filesapache-cxf-2.4.0samplesjava_first_pojo>ant serverBuildfile: G:Program Filesapache-cxf-2.4.0samplesjava_first_pojobuild.xml [loadfile] Do not set property srcbuild.classpath as its length is 0.maybe.generate.code:compile: [javac] Compiling 4 source files to G:Program Filesapache-cxf-2.4.0samplesjava_first_pojobuildclasses [javac] javac: 无效的标志: Filesapache-cxf-2.4.0/lib/endorsed [javac] 用法: javac <options> <source files> [javac] -help 用于列出可能的选项BUILD FAILEDG:Program Filesapache-cxf-2.4.0samplescommon_build.xml:127: Compile failed;see the compiler error output for details.Total time: 2 secondsG:Program Filesapache-cxf-2.4.0samplesjava_first_pojo>请问这里是哪儿出错了呢,谁能帮我指导一下吗?
解决方案
他提示的很清楚了。G:Program Files 中间有一个空格。。你看看怎么处理下哈。。