aspose file tools*
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
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

 
wood burning stoves
 
subject: Strange problem after building a jar with ant -