我在运行menu的实例的时候出现下面的错误:
Buildfile: F:\MobileToDVR\menu\build.xml
init:
j2mepolish:
[j2mepolish] J2ME Polish 2.0-RC4 (GPL License)
[j2mepolish] Loading device database...
[j2mepolish] Processing [7] devices...
[j2mepolish] Building application for [Generic/Midp2Cldc11] (1/7):
[j2mepolish] Using locale [de_DE]...
[j2mepolish] assembling resources for device [Generic/Midp2Cldc11].
[j2mepolish] preprocessing for device [Generic/Midp2Cldc11].
[j2mepolish] processing locale code...
[j2mepolish] compiling for device [Generic/Midp2Cldc11].
[j2mepolish-javac-Generic/Midp2Cldc11] Compiling 202 source files to F:\MobileToDVR\menu\build\real\Generic\Midp2Cldc11\de_DE\classes
[javac] Internal J2ME Polish class: F:\MobileToDVR\menu\build\real\Generic\Midp2Cldc11\de_DE\source\StyleSheet.java:291: 找不到符号
[javac] 符号: 类 CarrouselContainerView
[javac] 位置: 类 StyleSheet
[javac] , new Object[]{ new CarrouselContainerView(), mainscreenfocusedStyle}
[javac] ^
[javac] Internal J2ME Polish class: F:\MobileToDVR\menu\build\real\Generic\Midp2Cldc11\de_DE\source\StyleSheet.java:327: 找不到符号
[javac] 符号: 类 CarrouselContainerView
[javac] 位置: 类 StyleSheet
[javac] , new Object[]{ new CarrouselContainerView(), mainscreenfocusedStyle}
[javac] ^
[javac] 2 错误
[javac] An internal class of J2ME Polish could not be compiled. Please try a clean rebuild by either calling "ant clean j2mepolish" or by removing the working directory "F:\MobileToDVR\menu\build\real".
[javac] When an API-class was not found, you might need to define where to find the device-APIs. Following classpath has been used: [D:\Program Files\J2ME-Polish\import\midp-2.0.jar;D:\Program Files\J2ME-Polish\import\cldc-1.1.jar;].
BUILD FAILED
F:\MobileToDVR\menu\build.xml:89: Unable to compile source code for device [Generic/Midp2Cldc11]: Compile failed; see the compiler error output for details.
Total time: 8 seconds
调试了半天也没有找到原因, 后来到官方网站上面下载了一个新版本的J2ME-POLISH(j2mepolish-2.0.1.jar), 然后就正确运行了, 我原来安装的是J2ME Polish 2.0-RC4版本.