开始编译BAAS模型......
编译BAAS模型结束
编译用时: 0 秒
开始编译BAAS Service Java......
log4j:WARN No appenders could be found for logger (com.justep.baas.BaasException).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
com.justep.baas.compiler.CompileException: 编译模块Java出错
E:\WeX5_V3.8\runtime\BaasServer\baas\remaiappaction\FileUpload.java:42: 错误: 找不到符号
String savePath=request.getServletContext().getRealPath("/uploadFile");
^
符号: 方法 getServletContext()
位置: 类型为HttpServletRequest的变量 request
E:\WeX5_V3.8\runtime\BaasServer\baas\remaiappaction\FileUpload.java:43: 错误: 找不到符号
Part part = request.getPart("file");
^
符号: 方法 getPart(String)
位置: 类型为HttpServletRequest的变量 request
2 个错误
at com.justep.baas.compiler.java.JavaCompiler.compile(Unknown Source)
at com.justep.baas.compiler.java.Compiler.compileJavaDir(Unknown Source)
at com.justep.baas.compiler.java.Compiler.compileJavaDir(Unknown Source)
at com.justep.baas.compiler.java.Compiler.compileJavaDir(Unknown Source)
at com.justep.baas.compiler.java.Compiler.compileJavaCode(Unknown Source)
at com.justep.baas.compiler.java.Compiler.compile2jar(Unknown Source)
at com.justep.baas.compiler.java.Compiler.compile2jar(Unknown Source)
at com.justep.baas.compiler.java.Compiler.compile(Unknown Source)
at com.justep.baas.compiler.CompilerFactory.main(Unknown Source)