有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!

maven javasamlcore:未能执行目标

我刚开始做这个项目

当我跑步时:

$ mvn clean install

我得到以下错误:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.1.1:enforce (enforce) on project java-saml-core: 

Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: 
Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.1.1:enforce (enforce) on project java-saml-core: Some Enforcer rules have failed. 

Look above for specific messages explaining why the rule failed.
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)

同样在登录页面上,当我点击登录时,我得到以下错误:

SEVERE: Servlet.service() for servlet [jsp] in context with path [/java-saml-tookit-jspsample] threw exception [An exception occurred processing JSP page /dologin.jsp at line 10

7: </head>
8: <body>
9:  <%
10:         Auth auth = new Auth(request, response);
11:         if (request.getParameter("attrs") == null) {
12:             auth.login();
13:         } else {


Stacktrace:] with root cause
com.onelogin.saml2.exception.SettingsException: Invalid settings: idp_entityId_not_found, idp_sso_url_invalid, idp_cert_or_fingerprint_not_found_and_required
    at com.onelogin.saml2.Auth.<init>(Auth.java:224)

我对这个项目感兴趣,但我不知道问题是什么

我的pom.xml是:

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-enforcer-plugin</artifactId>
    <version>1.1.1</version>
    <executions>
        <execution>
            <id>enforce</id>
            <configuration>
                <rules>
                    <evaluateBeanshell>
                        <condition>javax.crypto.Cipher.getMaxAllowedKeyLength("AES") &gt; 128</condition>
                    </evaluateBeanshell>
                </rules>
            </configuration>
            <goals>
                <goal>enforce</goal>
            </goals>
        </execution>
    </executions>
</plugin>

共 (0) 个答案