java - 构建 cas (SSO) apereo 时出错

标签 java single-sign-on cas

我正在尝试从源代码构建 CAS 服务器并按 url 逐步运行 Build Process

我在步骤构建中遇到此错误:

./gradlew build install --parallel -x test -x javadoc -x check

错误消息:

An exception has occurred in the compiler (1.8.0_66). Please file a bug at the Java Bug Database (http://bugreport.java.com/bugreport/) after checking the database for duplicates. Include your program and the following diagnostic in your report. Thank you.

Task :api:cas-server-core-api-webflow:compileJava java.lang.RuntimeException: java.lang.NoSuchMethodError: com.sun.tools.javac.util.JavacMessages.add(Lcom/sun/tools/javac/util/JavacMessages$ResourceBundleHelper;)V

最佳答案

如果您克隆了 master 分支,那么您现在至少需要 JDK10。如果克隆 5.3.x 或 5.3.x 分支,则可以使用 JDK 8。检查 gradle.properties 以获得所需的 JDK 版本。

关于java - 构建 cas (SSO) apereo 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51230120/

相关文章:

java - 扫描仪跳过循环 Java 中的第一个输入

java - Android: "Can not resolve method ' x( 重写父类(super class)方法时为 )'"

java - 自定义 JButton PaintComponent 方法以视觉方式修改形状?不是实际的按钮形状?

java - Spring Security openId 支持和用户解除认证

authentication - 有人有关于 CAS 代理授予票证的有效示例吗?

java - 在 map 的 map 中切换键

azure - 在 Multi-Tenancy 应用程序中使用“我的应用程序”门户和 Azure AD SSO 登录

biztalk - 我得到 "Could not retrieve transport type data for Receive Location ' 接收位置 2' from config store"

lua - 实现 CAS(检查和设置)的 Redis Lua 脚本?

.net - 如何在部分信任环境(无 FileIOPermission)中访问我的程序集版本号