我们目前正在使用华夫饼来验证使用java/j2ee构建的基于web的应用程序。我们正在将应用程序迁移到使用Tomcat 8的过程中,我们最初使用的是java 6& tomcat 6,身份验证工作得很好。现在,在迁移到java 8 & tomcat 8之后,我们无法加载应用程序的登录页面。我得到了下面的错误。
org.apache.tomcat.util.digester.Digester startElement
SEVERE: Begin event threw error
java.lang.NoSuchFieldError: FQN
at waffle.apache.WaffleAuthenticatorBase.<init>(WaffleAuthenticatorBase.java:44)
at waffle.apache.MixedAuthenticator.<init>(MixedAuthenticator.java:45)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)我目前正在使用华夫饼-tomcat8-1.7.3.jar文件作为authentication.Please,帮助我们解决这个问题。在这方面的任何帮助都是非常感谢的。
发布于 2015-10-04 15:28:18
确保包含Waffle的所有依赖项:
包Waffle JAR,包括应用程序lib目录中的waffle jna.jar、番石榴-18.0.jar、jna-4.1.0.jar、jna.jar 4.1.0.jar、slf4j*.jar和华夫-Tomcat-6.jar,或者将它们复制到Tomcat的lib中。
https://github.com/dblock/waffle/blob/master/Docs/tomcat/TomcatSingleSignOnValve.md
你也尝试过新的1.8版本吗?
http://mvnrepository.com/artifact/com.github.dblock.waffle/waffle-tomcat8/1.8.0
https://stackoverflow.com/questions/32817928
复制相似问题