This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

classpath problem: NoClassDefFoundError

 
Yan Bai
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
My classpath is set as:
setenv CLASSPATH /disk/.../mmc:.
I have a java file under /disk/.../mmc/server/
I tried to compile it under server folder, but always get NoClassDefFoundError.
If I comment line1 out and compile this file under server directory, it compiles ok.
I was sucked
Thanks in advance for your help!
 
Nayanjyoti Talukdar
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Compile that under mmc folder with this command..
javac server/Test.java
[ December 11, 2002: Message edited by: Nayanjyoti Talukdar ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic