进口javax.xml.transform中不能得到解决 [英] import javax.xml.transform cannot be resolved

查看:177
本文介绍了进口javax.xml.transform中不能得到解决的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想通过我的Andr​​oid应用程序生成的一些XML写一个文件,我尝试使用javax.xml.transform中做到这一点。唯一的问题是javax.xml.transform的是不被蚀找到。

I am trying to write some xml generated by my Android app to a file and I'm trying to use javax.xml.transform to do this. Only problem is that javax.xml.transform is not being found by eclipse.

这想出的唯一选项是javax.xml和javax.xml.parsers中。有谁知道什么可以怎么回事?

The only options that come up are javax.xml and javax.xml.parsers. Does anyone know what could be going on?

编辑:只是一个供参考我对Java JDK 6更新22安装

Just an fyi I have Java JDK 6 update 22 installed.

推荐答案

我只是发现了做什么。如果你右击任何项目您的工作,并转到属性。然后在库选项卡中单击添加库和添加JRE系统库,然后它有一堆可以包括javax.xml.transform的使用新的进口。

I just found out what to do. If you right click on whatever project your working on and go to properties. Then in the libraries tab click add libraries and add the JRE System Library then it has a bunch of new imports that can be used including javax.xml.transform.

这没完没了地发现,简单的事情= P。但现在我知道了。

That took forever to find out that simple thing =P. But now I know.

这篇关于进口javax.xml.transform中不能得到解决的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆