This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes Strange problem after building a jar with ant - Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Strange problem after building a jar with ant - " Watch "Strange problem after building a jar with ant - " New topic
Author

Strange problem after building a jar with ant -

John Phoenix
Greenhorn

Joined: Jun 08, 2011
Posts: 4
Hello,

I build with ant a jar. Trying to start it:

java.lang.SecurityException: Invalid signature file digest for Manifest main attributes occurs.

But some stranger. If I trun my project with eclipse the application starts. But if I try to load a file with my application:

java.lang.SecurityException: Invalid signature file digest for Manifest main attributes occurs as well. Before building the jar everything works well.

Maybe someone can help me with my two problems.

regards

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Strange problem after building a jar with ant -
 
Similar Threads
bluecove problem
Programmatically repacking and signing jar, veryfing problem
packaging final application
Manifest file not working in J2EE project?
implementing secured jboss deployment