How to deploy war file in weblogic using gradle?

I have the following config setup to deploy war file in Weblogic.

buildscript{
  configurations {
    weblogic
  }

  dependencies {
    weblogic project.file('./libs/wlfullclient.jar') // line 15
  }
}

      

But when I try to do the build script, I get the error:

FAILURE: Build failed with exception.

  • Where: Create file 'C: \ workspace \ somedir \ inetsys \ someproj \ build.gradle': 15

  • What went wrong: There was a problem evaluating the root project "someproj".

    Could not find weblogic () method for arguments [C: \ workspace \ somdir \ inetsys \ someproj \ libs \ wlfullclient.jar] at org.gradle.api.interna l.artifacts.dsl.dependencies.DefaultDependencyHandler_Decorated @ 1846d05.

Can you help?

+3
java gradle weblogic12c


source to share


No one has answered this question yet

Check out similar questions:

3799
How do I read / convert an InputStream to a string in Java?
3324
How to generate random integers in a specific range in Java?
2853
How can I convert String to int in Java?
1206
What is Gradle in Android Studio?
425
How do I force gradle to re-download dependencies?
1
Could not find load () method for arguments
1
How to fix my dependencies in build.gradle file
1
Deploying war file to STS using gradle
1
How to add project dependency from using gradle?
-2
Spring and Gradle build: No such property: mainClassName for class: org.gradle.api.internal.project.DefaultProject_Decorated



All Articles
Loading...
X
Show
Funny
Dev
Pics