This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara 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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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 -