How to setup the maven deployment from Jdeveloper 12c
(Doc ID 2331178.1)
Last updated on OCTOBER 28, 2021
Applies to:
Oracle JDeveloper - Version 12.2.1.1.0 and laterInformation in this document applies to any platform.
Symptoms
Using JDeveloper 12.2.1.1.0 and Integrated WebLogic server while deploying application as Maven Deploy, the following exception can occur
[INFO] Command flags are: -adminurl t3://localhost:<PORT>
weblogic.Deployer invoked with options: -noexit -deploy -user weblogic -name <PROJECT_NAME>-1.0-SNAPSHOT -source <PROJECT_PATH>\target\<PROJECT_NAME>-1.0-SNAPSHOT.war -targets DefaultServer -upload -verbose -adminurl t3://localhost:<PORT>
weblogic.deploy.api.tools.deployer.DeployerException: Unable to connect to 't3://localhost:<PORT>': No available router to destination.. Ensure the url represents a compatible running admin server and that the credentials are correct. If using http protocol, tunneling must be enabled on the admin server.
at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:349)
at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:137)
at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
(or)
[WARNING] The POM for com.oracle.weblogic:weblogic-maven-plugin:jar:12.2.1-1-0 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
...
[ERROR] Plugin com.oracle.weblogic:weblogic-maven-plugin:12.2.1-1-0 or one of its dependencies could not be resolved: Failure to find com.oracle.weblogic:weblogic-maven-plugin:jar:12.2.1-1-0 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |