使用产品:Iobjects Java 9D 操作系统:win10 x64
IDE:Eclipse
问题详细描述:import Samplecode中的LayerAdding和LayerManage后run as Java application报错,其他Samplecode运行正常
问题重现步骤: 1import Samplecode中的LayerAdding
2.run as Java application 后选择MainFrame
3.出现如下错误:
控制台报错如下:
java.lang.NoClassDefFoundError: com/supermap/samplecode/mapping/MainFrame
Caused by: java.lang.ClassNotFoundException: com.supermap.samplecode.mapping.MainFrame
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Exception in thread "main"
1import Samplecode中的LayerManage
2.run as Java application后选择MainFrame
3.出现如下错误:
控制台报错如下:
java.lang.NoClassDefFoundError: com/supermap/samplecode/mapping/MainFrame
Caused by: java.lang.ClassNotFoundException: com.supermap.samplecode.mapping.MainFrame
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Exception in thread "main"