Unable to do the setup In My Local

39 views
Skip to first unread message

Ravi Mishra

unread,
Jul 25, 2021, 5:49:01 AM7/25/21
to OpenOlat
Hi Team,
This is ravi.i am new to this project . i am trying to do the setup in my local 
while i am executing the command "mvn clean packge" its failling with below Error

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project openolat-lms: Fatal error compiling: invalid target release: 11 -> [Help 1]

i had taken the master branch code from gith Hub. and  1 am using java version 11.

please help for this.

Thabks,
Ravi

Florian Gnaegi

unread,
Jul 26, 2021, 3:55:10 AM7/26/21
to open...@googlegroups.com
--
--
Sie erhalten diese Nachricht, weil Sie Mitglied sind von Google
Groups-Gruppe "OpenOlat".
Für das Erstellen von Beiträgen in dieser Gruppe senden Sie eine E-Mail
an open...@googlegroups.com
Um sich von dieser Gruppe abzumelden, senden Sie eine E-Mail an
openolat+u...@googlegroups.com
Weitere Optionen finden Sie in dieser Gruppe unter
http://groups.google.com/group/openolat?hl=de
-------------------------------------------------------------------------------------------------------------------
OpenOlat - infinite learning - http://www.openolat.org
---
You received this message because you are subscribed to the Google Groups "OpenOlat" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openolat+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openolat/6e64b7af-560e-411d-ab42-b2fb61112066n%40googlegroups.com.

--------------------------------------------------------------------
professional services for the e-learning system OpenOlat
hosting - operating - support - development - mobile - consulting
--------------------------------------------------------------------
frentix  GmbH
Florian Gnägi, Geschäftsführer
Okenstrasse 6
CH-8037 Zürich, Switzerland


Find me on twitter linkedin 
--------------------------------------------------------------------

Online Seminare: OOteach

--------------------------------------------------------------------





Ravi Mishra

unread,
Jul 26, 2021, 10:46:32 PM7/26/21
to OpenOlat
Hi Florin,
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&amp;characterEncoding=UTF-8&amp;cachePrepStmts=true&amp;cacheCallableStmts=true&amp;autoReconnectForPools=true"
          testOnBorrow="true" testOnReturn="false"
          validationQuery="SELECT 1" validationQueryTimeout="-1"/>
  </GlobalNamingResources>

my local db userName is root and password is mysql.

Thanks,
Ravi


Reply all
Reply to author
Forward
0 new messages