我是eclipse和Wtk22进行开发一个访问Servlet的小程序
程序好简单只是通过网络进行查询
在eclipse中进行运行时成功查询出结果,一切正常。
我把程序正确打包后,放在WTK中进行运行(已经进入了手机界面,看到了程序)
运行时在DOS的界面出了一大串字符串,但我要的结果没有出现在手机界面中。
求救各位高手,为什么运行不了呢?
在Dos中出显的错如下:
c:\wtk22\bin\emulator.exe -Xjam
Running with storage root DefaultColorPhone
Execution completed.
185492 bytecodes executed
28 thread switches
741 classes in the system (including system classes)
1328 dynamic objects allocated (62776 bytes)
1 garbage collections (0 bytes collected)
Error verifying method MobileCC startApp()V
Approximate bytecode offset 4: Inconsistent or missing stackmap at target
Method............: 1016db58 'com/sun/midp/midlet/MIDletState.createMIDlet (stat
ic) '
Stack Chunk.......: f14af4
Frame Pointer.....: f14bdc
Current IP........: 101f1715 = 101f1707 + offset 14
Previous Frame....: f14ba4
Previous IP.......: 101d42d4 (offset 52)
Frame size........: 7 (1 arguments, 6 local variables)
Argument[0].......: f11fa8
Local[1]..........: f89674
Local[2]..........: 101d42d1
Local[3]..........: f1442c
Local[4]..........: 10183d40
Local[5]..........: f895c4
Local[6]..........: 0
Operand[1]........: f89a44
Method............: 1015a558 'com/sun/midp/midlet/Scheduler.schedule (virtual) '
Stack Chunk.......: f14af4
Frame Pointer.....: f14ba4
Current IP........: 101d42d4 = 101d42a0 + offset 52
Previous Frame....: f14b70
Previous IP.......: 10212682 (offset 141)
Frame size........: 7 (2 arguments, 5 local variables)
Argument[0].......: f14508
Argument[1].......: f13bf4
Local[2]..........: 0
Local[3]..........: f89640
Local[4]..........: 1021267e
Local[5]..........: f89654
Local[6]..........: 1015a478
Operand[1]........: f14508
Method............: 10182484 'com/sun/midp/main/CommandProcessor.run (static) '
Stack Chunk.......: f14af4
Frame Pointer.....: f14b70
Current IP........: 10212682 = 102125f5 + offset 141
Previous Frame....: f14b48
Previous IP.......: 102124ba (offset 49)
Frame size........: 4 (1 arguments, 3 local variables)
Argument[0].......: f149b0
Local[1]..........: f13bf4
Local[2]..........: 0
Local[3]..........: f89628
Method............: 10182444 'com/sun/midp/main/CommandProcessor.dispatch (stati
c) '
Stack Chunk.......: f14af4
Frame Pointer.....: f14b48
Current IP........: 102124ba = 10212489 + offset 49
Previous Frame....: f14b28
Previous IP.......: 10212465 (offset 27)
Frame size........: 2 (1 arguments, 1 local variables)