This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
when I try calling it with java -jar it results in
C:\somewhere>java -jar myjar.jar Exception in thread "main" java.lang.NoClassDefFoundError: Ljavax/servlet/ServletRequest; at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Unknown Source) at java.lang.Class.getDeclaredField(Unknown Source) ...
Warning: The text file must end with a new line or carriage return. The last line will not be parsed properly if it does not end with a new line or carriage return.
Did you post the manifest file that you pulled back out of the jar? If not, take a look at it. Sometimes it loses the last line or doesn't really use your manifest file at all. [ April 21, 2005: Message edited by: Carol Enderlin ]