Results 1 to 4 of 4
Thread: Problem with Manifest file
- 01-11-2013, 04:10 AM #1
Senior Member
- Join Date
- Feb 2012
- Posts
- 219
- Rep Power
- 2
[SOLVED]Problem with Manifest file
I keep getting a NoClassDefFoundError for org/joda/time/DateTime. I am trying to run this from a jar file, but it gives me that error when I get to that part in the code. It works in eclipse.
Here is my current manifest file.
The jar file is contained in the src directory. I assume that the manifest file is the issue. Thanks for any help.Java Code:Manifest-Version: 1.0 Class-Path: com.gmail.foo.packet.Packet joda.jar Main-Class: com.gmail.foo.client.Client
Cross posted at JavaprogrammingforumLast edited by Wnt2bsleepin; 01-11-2013 at 08:49 PM.
- 01-11-2013, 05:25 AM #2
Member
- Join Date
- Dec 2012
- Posts
- 74
- Rep Power
- 0
Re: Problem with Manifest file
Are you including joda.DateTime in your .jar file when you export it from Eclipse?
- 01-11-2013, 05:33 AM #3
Senior Member
- Join Date
- Feb 2012
- Posts
- 219
- Rep Power
- 2
- 01-11-2013, 08:49 PM #4
Senior Member
- Join Date
- Feb 2012
- Posts
- 219
- Rep Power
- 2
Similar Threads
-
Manifest file: line too long error
By nn12 in forum New To JavaReplies: 10Last Post: 02-01-2011, 03:01 PM -
manifest file problem
By afraidofdark in forum Advanced JavaReplies: 5Last Post: 03-27-2010, 12:58 PM -
Jar File Manifest
By hitmen in forum New To JavaReplies: 6Last Post: 03-11-2009, 04:08 AM -
Manifest file in executable jars
By Java Tip in forum Java TipReplies: 0Last Post: 12-15-2007, 08:16 PM


LinkBack URL
About LinkBacks
Reply With Quote


Bookmarks