小编Mar*_*rco的帖子

IllegalArgumentException在Wildfly 14上部署CAS 5.3.10 Maven覆盖WAR

我在Wildfly 14部署CAS 5.3.10,使用Maven的覆盖在指定https://apereo.github.io/cas/5.3.x/installation/Configuring-Servlet-Container.html#external和使用项目模板位于:https : //github.com/apereo/cas-overlay-template/tree/5.3

我已经编辑了可以在Wildfly 9上正确部署的pom,但是在Wildfly 14上部署失败,但有以下异常:

由以下原因引起的:java.lang.IllegalArgumentException:object不是在sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)处声明类的实例。在Sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)处org.springframework.core.io.VfsUtils.getFile(VfsUtils)上的java.lang.reflect.Method.invoke的未知源(org.springframework.core.io.VfsUtils.invokeVfsMethod(VfsUtils.java:100)处的Unknown Source) .java:172)位于org.springframework.core.io.VfsResource.getFile(VfsResource.java:90)位于org.apereo.cas.util.CasVersion.getDateTime(CasVersion.java:59)位于org.apereo.cas。 util.SystemUtils.getSystemInfo(SystemUtils.java:50)...........

问题似乎与CasVersion尝试通过VFS(通过spring)访问以检索与模块的最后修改日期有关的信息的类有关。

cas war web-deployment maven wildfly

5
推荐指数
1
解决办法
137
查看次数

标签 统计

cas ×1

maven ×1

war ×1

web-deployment ×1

wildfly ×1