Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / April 2007

Tip: Looking for answers? Try searching our database.

Exception in thread "main" java.lang.NoClassDefFoundError: javax/activation/DataSource

Thread view: 
aemi - 09 Apr 2007 16:01 GMT
some jar file is missing
how would I know which one?

I m getting following msg

Exception in thread "main" java.lang.NoClassDefFoundError: javax/
activation/DataSource
       at
com.hewitt.mb.common.utilities.SendMail.sendTo(SendMail.java:43)
       at
com.hewitt.mb.common.utilities.SendMail.sendException(SendMail.java:
122)
       at com.hewitt.mb.common.logging.LogUtil.error(LogUtil.java:72)
       at
com.hewitt.mb.common.utilities.XMLUtil.fileToDoc(XMLUtil.java:414)
       at
com.hewitt.mb.common.utilities.Queries.<clinit>(Queries.java:33)
       at
com.hewitt.mb.custom.cdsexportadapter.base.CDSDBExportAdapter.getLatestData(CDSDBExportAdapter.java:
115)
       at
com.hewitt.mb.custom.cdsexportadapter.base.CDSDBExportAdapter.<init>(CDSDBExportAdapter.java:
71)
       at
com.hewitt.mb.custom.cdsexportadapter.base.CDSDBExportAdapter.main(CDSDBExportAdapter.java:
341)
Andrew Thompson - 09 Apr 2007 16:19 GMT
>some jar file is missing
>how would I know which one?

GIYF *

>I m getting following msg
>
>Exception in thread "main" java.lang.NoClassDefFoundError: javax/
>activation/DataSource

* <http://www.google.com/search?q=javax%2Factivation%2FDataSource>
..leads quickly to..
<http://java.sun.com/javaee/5/docs/api/javax/activation/DataSource.html>

Any idea yet?

Signature

Andrew Thompson
http://www.athompson.info/andrew/

Arne Vajhøj - 10 Apr 2007 00:35 GMT
> some jar file is missing
> how would I know which one?
[quoted text clipped - 5 lines]
>         at
> com.hewitt.mb.common.utilities.SendMail.sendTo(SendMail.java:43)

You need http://java.sun.com/products/javabeans/jaf/downloads/index.html

Arne


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.