• 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
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Exception!

 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
When i try to run any java program that has a main method inside WSAD, i get the following exception in WSAD console.can somebody help me?Is this a configuration issue in WSAD?If yes,how do I fix it? I will be able to procee if only i get a solution to this problem.
java.lang.NoClassDefFoundError: business/TCETopicsReader
Exception in thread "main"

This is very urgent!Please,any help ASAP would be great!
Thanks,
Prabha
 
Wanderer
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm moving this to IBM/WebSphere where it can receive more specialized attention...
 
Bartender
Posts: 9615
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This error:
java.lang.NoClassDefFoundError: business/TCETopicsReader
is the result of the JVM not finding the class business.TCETopicsReader in the classpath. Your program should not have compiled, as WSAD uses the same classpath to compile and run. I usually use the Package View in WSAD, and to set up the classpath one would left-click on the package name, click on "Properties" and in the Properties Editor, click on "Java Build Path" to get a tabbed editor for configuring the classpath. WSAD also has excellent help. A search of WSAD for "classpath" returns a couple hundred results.
 
The only taste of success some people get is to take a bite out of you. Or this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic