sonatype / nexus-book-examples

Example projects and other resources for the book Repository Management with Nexus
173 stars 206 forks source link

Unable to run provision.sh script #19

Closed amruthapbhat closed 7 years ago

amruthapbhat commented 7 years ago

Hi,

Iam unable to run the provision.sh script as iam getting the below error.

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. Script named 'npmBower' will be created Caught: java.lang.NoClassDefFoundError: org/codehaus/groovy/runtime/typehandling/ShortTypeHandling java.lang.NoClassDefFoundError: org/codehaus/groovy/runtime/typehandling/ShortTypeHandling at org.sonatype.nexus.script.ScriptXO.(ScriptXO.groovy) at addUpdateScript.run(addUpdateScript.groovy:69) Caused by: java.lang.ClassNotFoundException: org.codehaus.groovy.runtime.typehandling.ShortTypeHandling ... 2 more

Could you please let me know if there are any pre-requisites that needs to be downloaded

Regards, Amrutha

peterlynch commented 7 years ago

use the latest version of Groovy.