Hi all,
I cloned the github project i n Ubuntu 18.04 server and ran commands below,
however it failing to start:
$ git clone --recursive
git://github.com/geonetwork/core-geonetwork.git geonetwork
$ cd geonetwork
$ git checkout master
$ git submodule update --init
$ mvn clean install -o -DskipTests -T 2C
$ cd web
$ sudo mvn jetty:run -Penv-dev
I again ran in geonetwork folder commands below but failed:
git submodule init
git submodule update --recursive
Started ServerConnector@anonymised.com{HTTP/1.1, (http/1.1)}{0.0.0.0:8080}
[*INFO*] Started @70540ms
[*INFO*] Started Jetty Server
May 06, 2020 3:45:19 AM com.google.javascript.jscomp.LoggerErrorManager
println
SEVERE: /catalog/components/cookieWarning/CookieWarningDirective.js:1:
ERROR - Parse error. primary expression expected
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
^
2020-05-06 03:45:19,447 ERROR [geonetwork.wro4j] - Error occurred during a
wro4j request handling
ro.isdc.wro.WroRuntimeException: Compilation has errors: [JSC_PARSE_ERROR.
Parse error. primary expression expected at
/catalog/components/cookieWarning/CookieWarningDirective.js line 1 : 1]