i am facing the below issue while running olat from the run on server options.
SEVERE: Failed to start [org.apache.catalina.realm.UserDatabaseRealm] realm
org.apache.catalina.LifecycleException: No UserDatabase component found under key [UserDatabase]
Caused by: java.io.FileNotFoundException: class path resource [org/springframework/test/context/junit4/AbstractJUnit4SpringContextTests.class] cannot be opened because it does not exist
in server.xml the configuration is:-
<GlobalNamingResources>
<!-- Editable user database that can also be used by
UserDatabaseRealm to authenticate users
-->
<Resource auth="Container" driverClassName="com.mysql.cj.jdbc.Driver" type="javax.sql.DataSource"
maxIdle="4" maxTotal="16" maxWaitMillis="10000"
name="jdbc/OpenOLATDS"
password="mysql" username="root"
url="jdbc:mysql://localhost:3306/openolat?useUnicode=true&characterEncoding=UTF-8&cachePrepStmts=true&cacheCallableStmts=true&autoReconnectForPools=true"
testOnBorrow="true" testOnReturn="false"
validationQuery="SELECT 1" validationQueryTimeout="-1"/>
</GlobalNamingResources>
my local db userName is root and password is mysql.
Thanks,
Ravi