From: Panayotis K. <pan...@pa...> - 2011-03-02 15:35:21
|
On 02 Μαρ 2011, at 12:40 π.μ., aNgIe Benegas wrote: > I have the following exception when I execute a .jar as a Java application: > > Command: > D:\Documents and Settings\AngieBe\Desktop\xmlvm2> java -jar "D:\Documents and Settings\AngieBe\Desktop\xmlvm2\dist\demo\iphone\ihelloworld\portrait\java\ihelloworld.jar" > > Exception: > Exception in thread "main" java.lang.NoSuchMethodError: org.xmlvm.iphone.UIApplication.main([Ljava/lang/String;Ljava/lang/Class;)V > at org.xmlvm.demo.ihelloworld.portrait.HelloWorld.main(HelloWorld.java:52) > > I have tried with others .jar like iFireWorks and always the same error. But I can execute java -jar xmlvm.jar without errors. > > Can anyone help me please? Can you provide us with the message, just when JAR is built? I have an idea but I need to be sure first. |