游戏开发论坛

 找回密码
 立即注册
搜索
查看: 3108|回复: 1

自己封装的类打成的 JAR 包怎么用呢

[复制链接]

1

主题

2

帖子

0

积分

新手上路

Rank: 1

积分
0
QQ
发表于 2007-4-25 09:21:00 | 显示全部楼层 |阅读模式

导入和程序编写都不会出错,但是调试的时候报了个错误

正在通过存储根 DefaultColorPhone 来运行
java.lang.NoClassDefFoundError: lin/la
at Guard.<init>(+4)
at java.lang.Class.runCustomCode(+0)
at com.sun.midp.midlet.MIDletState.createMIDlet(+19)
at com.sun.midp.midlet.Scheduler.schedule(+52)
at com.sun.midp.main.Main.runLocalClass(+28)
at com.sun.midp.main.Main.main(+116)
Execution completed.
700638 bytecodes executed
6 thread switches
750 classes in the system (including system classes)
4181 dynamic objects allocated (118760 bytes)
11 garbage collections (92448 bytes collected)

不知道为什么了,

lin/la 是我打包的路径,la 是包中的CLASS文件

多谢指教,谢谢了

0

主题

3

帖子

0

积分

新手上路

Rank: 1

积分
0
发表于 2007-5-19 12:59:00 | 显示全部楼层

Re:自己封装的类打成的 JAR 包怎么用呢

我是新手,才来的,学习一下,帮你顶
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2026-1-26 10:41

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表