This week's book giveaway is in the Artificial Intelligence and Machine Learning forum.
We're giving away four copies of TensorFlow 2.0 in Action and have Thushan Ganegedara on-line!
See this thread for details.
Win a copy of TensorFlow 2.0 in Action this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

Problem with weblogic.ejbc command while compiling EJB files in Weblogic 6.1 server

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI all,
I'm trying to compile EJB files by using weblogic.ejbc in Weblogic 6.1. But it is not compileing and following exception is throwing..
"Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/ejbc"
I gave correct weblogicClassPath and it contains weblogic.jar whereas buildClassPath points to the dir where the classes of the entire project live (I'm using the same classpath in my javac task).
any thougths ?
 
Ranch Hand
Posts: 287
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Last night, I had the same problem. I read someone's post here, suggesting that once all the class files, Deployment Descriptors etc are ready and the source jar file is ready, then we should run the 'setEnv.bat' script file from the <domain> directory. This script sets all the environment requirements. Now, if you try 'java weblogic.ejbc ............', you should not get any error. It worked for me.
Thanks & Bye,
Tualha Khan
 
Look! I laid an egg! Why does it smell like that? Tiny ad, does this smell weird to you?
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic