You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 17, 2022. It is now read-only.
I am facing this issue whild building ui project with below environment setting -
Java: 8
gradle: 2.14.1
gradle-js-plugin:2.14.1
gradle-css-plugin:2.14.0
My UI project does not have any direct dependency on CompilerOptions.class or closure-compiler-vxxxxxx.jar. Looks like gradle-js-plugin:2.14.1 internally depends on closure-compiler, so it should automatically download required jar.
Please suggest how to overcome this issue. I tried to put latest of closure-compiler-v20160713.jar in my local repo but this also did not yeild any result.
Below is the stacktrace I am getting -
Caused by: java.lang.NoClassDefFoundError: com/google/javascript/jscomp/CompilerOptions
at com.eriwen.gradle.js.JsPlugin.apply(JsPlugin.groovy:38)
at com.eriwen.gradle.js.JsPlugin.apply(JsPlugin.groovy)
at org.gradle.api.internal.plugins.ImperativeOnlyPluginApplicator.applyImperative(ImperativeOnlyPluginApplicator.java:35)
at org.gradle.api.internal.plugins.RuleBasedPluginApplicator.applyImperative(RuleBasedPluginApplicator.java:43)
at org.gradle.api.internal.plugins.DefaultPluginManager.doApply(DefaultPluginManager.java:137)
at org.gradle.api.internal.plugins.DefaultPluginManager.addImperativePlugin(DefaultPluginManager.java:67)
at org.gradle.api.internal.plugins.DefaultPluginManager.addImperativePlugin(DefaultPluginManager.java:73)
at org.gradle.api.internal.plugins.DefaultPluginContainer.apply(DefaultPluginContainer.java:60)
at org.gradle.api.plugins.PluginContainer$apply.call(Unknown Source)
The text was updated successfully, but these errors were encountered:
Hi,
I am facing this issue whild building ui project with below environment setting -
Java: 8
gradle: 2.14.1
gradle-js-plugin:2.14.1
gradle-css-plugin:2.14.0
My UI project does not have any direct dependency on CompilerOptions.class or closure-compiler-vxxxxxx.jar. Looks like gradle-js-plugin:2.14.1 internally depends on closure-compiler, so it should automatically download required jar.
Please suggest how to overcome this issue. I tried to put latest of closure-compiler-v20160713.jar in my local repo but this also did not yeild any result.
Below is the stacktrace I am getting -
Caused by: java.lang.NoClassDefFoundError: com/google/javascript/jscomp/CompilerOptions
at com.eriwen.gradle.js.JsPlugin.apply(JsPlugin.groovy:38)
at com.eriwen.gradle.js.JsPlugin.apply(JsPlugin.groovy)
at org.gradle.api.internal.plugins.ImperativeOnlyPluginApplicator.applyImperative(ImperativeOnlyPluginApplicator.java:35)
at org.gradle.api.internal.plugins.RuleBasedPluginApplicator.applyImperative(RuleBasedPluginApplicator.java:43)
at org.gradle.api.internal.plugins.DefaultPluginManager.doApply(DefaultPluginManager.java:137)
at org.gradle.api.internal.plugins.DefaultPluginManager.addImperativePlugin(DefaultPluginManager.java:67)
at org.gradle.api.internal.plugins.DefaultPluginManager.addImperativePlugin(DefaultPluginManager.java:73)
at org.gradle.api.internal.plugins.DefaultPluginContainer.apply(DefaultPluginContainer.java:60)
at org.gradle.api.plugins.PluginContainer$apply.call(Unknown Source)
The text was updated successfully, but these errors were encountered: