Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

deployment error

 
lynn fann
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Im using ant script to deploy my application to remote server (weblogic 10). When i execute the ant script i have the following error:

[java] java.lang.NoClassDefFoundError: weblogic/Deployer
[java] Exception in thread "main"
[java] Java Result: 1

What causes this error?


Thanks.
 
Amit Kumar.
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i think its the deployment descriptors that are missing or they are wrongly coded.
 
Piyush Patel
Ranch Hand
Posts: 127
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
lynn fann wrote:Im using ant script to deploy my application to remote server (weblogic 10). When i execute the ant script i have the following error:

[java] java.lang.NoClassDefFoundError: weblogic/Deployer
[java] Exception in thread "main"
[java] Java Result: 1

What causes this error?


Thanks.



I think you try clean and build in netbeans as you not frequently just running your project thats why its you get the error.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic