Grails2.4.3错误GrailsContextLoaderListener java.lang.NoClassDefFoundError:org/apache/xml/security/Init
当我执行grails run app时,我遇到以下错误,我试图在本地运行我的grails应用程序,但无法这样做 下面是Stacktrace的错误 堆栈跟踪Grails2.4.3错误GrailsContextLoaderListener java.lang.NoClassDefFoundError:org/apache/xml/security/Init,grails,spring-security,classnotfoundexception,saml-2.0,grails-plugin,Grails,Spring Security,Classnotfoundexception,Saml 2.0,Grails Plugin,当我执行grails run app时,我遇到以下错误,我试图在本地运行我的grails应用程序,但无法这样做 下面是Stacktrace的错误 堆栈跟踪 如果您愿意,我可以提供更多详细信息,有人能帮助您解释为什么会发生这种情况吗?我缺少xmlsec库,我通过添加 compile 'org.apache.santuario:xmlsec:2.0.8' 在BuildConfig.groovy文件的依赖项中,它解决了我的问题:)检查您是否有xmlsec libgreat thanking@Sand
如果您愿意,我可以提供更多详细信息,有人能帮助您解释为什么会发生这种情况吗?我缺少xmlsec库,我通过添加
compile 'org.apache.santuario:xmlsec:2.0.8'
在BuildConfig.groovy文件的依赖项中,它解决了我的问题:)检查您是否有xmlsec libgreat thanking@SandeepPoonia,我在BuildConfig.groovy文件的依赖项中添加了
编译“org.apache.santuario:xmlsec:2.0.8”
,它解决了我的问题:)
compile 'org.apache.santuario:xmlsec:2.0.8'