title: Can not find basic class weblogic.Deployer
body: <p>Deploy weblogic using jenkins without jenkins plugin.</p>
  
  <p>jenkins weblogic plugin use this command. So I try use it.</p>
  
  <pre><code>/bin/java -Xms256M -Xmx256M -cp /root/wls12210/wlserver/server/lib/weblogic.jar weblogic.Deployer -debug -stage -remote -verbose -upload -name testPage -source /root/.jenkins/workspace/WebLogic/target/testPage.war -targets AdminServer -adminurl t3://127.0.0.1:7001 -user {ID} -password {password} -deploy
  </code></pre>
  
  <p>But If I use this command not use plugin but only raw command, there is error.</p>
  
  <blockquote>
    <p>error: Cannot find basic class weblogic.Deployer or cannot load weblogic.Deployer.</p>
  </blockquote>
  
  <p>above error evoke as korean language, so I translated to english.
  under error is jenkins error part.</p>
  
  <blockquote>
    <p>[WeblogicDeploymentPlugin] - ARTIFACT UNDEPLOYED SUCCESSFULLY. 
    [WeblogicDeploymentPlugin] - DEPLOYING ARTIFACT... $
    /bin/java -Xms256M -Xmx256M -cp
    /root/wls12210/wlserver/server/lib/weblogic.jar weblogic.Deployer
    -debug -stage -remote -verbose -upload -name testPage -source /root/.jenkins/workspace/WebLogic/target/testPage.war -targets
    AdminServer -adminurl t3://127.0.0.1:7001 -user {id} -password
    {passwd} -deploy [WeblogicDeploymentPlugin] - ARTIFACT DEPLOYED
    SUCCESSFULLY. [INFO]
    [INFO] DEPLOYMENT SUCCESS [INFO]</p>
    
    <p>SSH: Connecting from host [localhost.localdomain] </p>
    
    <p>SSH: Connecting with configuration [weblogic] ... </p>
    
    <p>SSH: EXEC: STDOUT/STDERR from command[
    /bin/java -Xms256M -Xmx256M -cp /root/wls12210/wlserver/server/lib/weblogic.jar weblogic.Deployer
    -debug -stage -remote -verbose -upload -name testPage -source /root/.jenkins/workspace/WebLogic/target/testPage.war -targets
    AdminServer -adminurl t3://127.0.0.1:7001 -user {id} -password
    {passwd} -deploy</p>
    
    <p>error: Cannot find basic class weblogic.Deployer or cannot load weblogic.Deployer.</p>
  </blockquote>
  
  <p>How can I solve this error?</p>