Open vcatalano opened 8 years ago
Hello.
Can you please provide a simple example of your buildscript/files?
The following is my build.gradle file. It's the only build file for my project:
apply plugin: 'java'
apply plugin: 'war'
apply plugin: 'idea'
apply plugin: 'org.akhikhl.gretty'
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'org.akhikhl.gretty:gretty:+'
}
}
repositories {
mavenCentral()
}
dependencies {
compile 'org.apache.logging.log4j:log4j-web:2.5'
compile 'org.glassfish.jersey.containers:jersey-container-servlet-core:2.22.2'
compile 'org.glassfish.jersey.containers:jersey-container-servlet:2.22.2'
compile 'org.glassfish.jersey.core:jersey-common:2.22.2'
compile 'org.glassfish.jersey.core:jersey-client:2.22.2'
compile 'org.glassfish.jersey.core:jersey-server:2.22.2'
compile 'org.glassfish.jersey.ext:jersey-mvc:2.22.2'
compile 'org.glassfish.jersey.ext:jersey-mvc-mustache:2.22.2'
compile 'org.glassfish.jersey.media:jersey-media-json-jackson:2.22.2'
compile 'org.glassfish.jersey.media:jersey-media-moxy:2.22.2'
compile 'org.glassfish.jersey.media:jersey-media-multipart:2.22.2'
compile 'com.google.guava:guava:17.0'
testCompile 'junit:junit:4.12'
}
I'm attempting to switch my project over to Gretty from the default Gradle Jetty plugin, however, when I run the project with the
jettyRun
command, the command will hang on after the following output for about 3-5 minutes:After this time, the script will output the following remaining logs. The script never actually serves my project, it simply completes and exits.
It appears that this might be due to the GroovyScriptEngineFactory not being found. However, I'm currently using Gradle 2.13.