Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem During Compilation of EJB Jar with Weblogic.ejbc tool

 
Sreedhar mar
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,
I had written a sample EJB program and complied all the java files to class files. I had even written an XML file and created a .jar file which consists of .class files and .xml files. Now i am trying to compile, this .jar file by using the tool weblogic.ejbc tool. During this process, the complier is raising an error stating that "Exception in thread main java.lang.NoClassDefFoundError : weblogic/ejbc". I searched in my system, for this tool and i didn't find it. Where from i can get this tool on website. Is it any third party tool? kindly feel free to give solution for this problem.
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to put the weblogic jar files in the classpath. The weblogic.ejbc is a class which generates the container specific class files for EJBs.
 
Sreedhar mar
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi pradeep

i put weblogic.jar file in classpath.but it was not worked
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the command line used?
 
somkiat puisungnoen
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please post, your error message.
 
kalpak pillai
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Put the weblogicaux.jar & weblogicclasses.jar in ur classpath
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic