Skip to Content
0
Former Member
Apr 16, 2008 at 02:42 PM

MI 7.1: Import project of MI 7.0:

13 Views

Hi, i do this tutorial for import a project of MI 7.0 to MI 7.1:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0c1c38d-3da6-2a10-7fb5-ae1f7173f59f

All work fine, but, if i intent execute the application by MDK: export project into a MI archive and i check "Run the mobile application" appear an error: "Could not find the main class. Program will exit." Why? This application work fine in MI 7.0.

In the console appear:

java.lang.NoClassDefFoundError: /C
Caused by: java.lang.ClassNotFoundException: .C
	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
Exception in thread "main" 

Thanks,

Edited by: Victor Capi on Apr 16, 2008 4:43 PM

Edited by: Victor Capi on Apr 16, 2008 4:44 PM