我正在使用 ant 脚本来构建应用程序。此应用程序在 9.2
bea.lib=C:/bea92/weblogic92/server/lib
- ant 代码下运行 - 运行良好,但是当我更改为 12c lib 文件夹bea.lib=C:/bea12c/wlserver_12.1/server/lib
时,它给了我这个错误:
[javac] bad class file: C:\bea12c\wlserver_12.1\server\lib\..\..\..\modules\features\..\javax.servlet_2.0.0.0_3-0.jar(javax/servlet/http/HttpServletRequest.class)
[javac] class file has wrong version 50.0, should be 49.0
[javac] Please remove or make sure it appears in the correct subdirectory of the classpath.
[javac] import javax.servlet.http.HttpServletRequest;
[javac]