
找不到encoding-map.xml这个东西..
你在classpath里面设置好就行了吧...
【 在 tongtian (天天) 的大作中提到: 】
: 我就加了两个控件,程序如下:
: contentPane.add(mapToolBar1,BorderLayout.NORTH);

: contentPane.add(visualMapJ1, BorderLayout.CENTER);
: visualMapJ1.getMapJ().loadGeoset(
: "D:\\Mapxtreme45\\MapXtreme-4.5.0\\examples\\server\\world.gst",
: "D:\\Mapxtreme45\\MapXtreme-4.5.0\\examples\\server\\", null);
: 能运行,但会产生RuntimeException 如下:

:java.lang.ExceptionInInitializerError: java.lang.RuntimeException: encodin
: g-map.xml not found on the CLASSPATH
:at com.mapinfo.xmlprot.MIMEToJava.<clinit>(DashoA1193)
:at com.mapinfo.xmlprot.XMLUtils.<clinit>(DashoA1193)
: ...................
--
FROM 210.73.73.60
本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/tongxinshuyu/article-28684-1.html
当前必须完全抛售美国国债
哈哈哈哈哈哈哈哈哈