Apache Archiva using JDK 11 throwing BeanCreationException: Error creating bean with name 'roleManager'

限于喜欢 提交于 2019-12-06 11:52:07

Just in case someone facing this issue. It seems Spring 4 which is used by Archiva 2.2.3 (2017) does not support being running on Java 11 VM and I can't get it to. Thanks to @M. Deinum in comments providing the info

Spring 4.3 works on Java 8, anything above it will probably fail (also due to other libraries like cglib and asm not supporting anything higher in that version). Unless there is another version of Archiva that is specially for Java11 you should stick with Java8

In short, stick with Java8 for Archiva as runtime. Also same in documentation about Nexus.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!