包 org.kxml2.kdom 不存在
我在 JavaME 代码中添加了一个迷你 xpath 处理器。 我收到此错误:包 org.kxml2.kdom 不存在
如何解决此问题?
希望有人能在这方面帮助我。先感谢您。
I added a mini xpath processor into my JavaME codes.
I get this error: package org.kxml2.kdom does not exist
How do I fix this?
Hope someone could help me on this. Thank you in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
看来您需要将 KXML jar 文件添加到您的项目资源中。
It seems that you need to add the KXML jar file to your project resources.
我遇到了同样的问题,发现我需要获取 kxml 1 而不是 2。另外,如果您使用 ktoolbar,请将 jar 或 zip 文件(根据您使用的版本)放在应用程序的 lib 文件中
I had the same problem and found that I needed to get kxml 1 not 2. Also, if you're using ktoolbar, put the jar or zip file (according which version you're using) in the lib file in your app