简体   繁体   English

Grails和Spring Security CAS插件

[英]Grails and Spring Security CAS plugin

I am currently having an issue where when I try to start my app I get the error: 我目前遇到一个问题,当我尝试启动我的应用程序时出现错误:

ERROR context.GrailsContextLoader  - Error initializing the application: Cannot execute      
null+null
Message: Cannot execute null+null

This only happens when I tell the program to compile the Spring Security CAS plugin. 仅当我告诉程序编译Spring Security CAS插件时,才会发生这种情况。 This only started happening when I turned off forking, since it was making it hard to set up a JNDI. 这只是在我关闭分叉时才开始发生,因为这使得设置JNDI变得很困难。 Is there a way to fix this problem without turning back on forking? 有没有解决此问题的方法,而无需重新打开分叉?

It turns out that the reason it wasn't working was because I hadn't finished configuring it. 事实证明,它不起作用的原因是因为我尚未完成配置。 This doesn't make much sense to me, given that I was able to run the app just fine before without configuring it, seeing as how I never used that plugin within the implementation, it was just downloaded. 对我来说,这没有太大意义,因为我能够在不进行配置的情况下就可以很好地运行该应用程序,因为我从未在实现中使用过该插件,而是下载了它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM