eclipse xml错误 [英] eclipse xml error
问题描述
我第一次在eclipse中编程,当我创建黑莓项目时,我在BlackBerry_App_Descriptor.xml中收到此错误,
i am programming in eclipse for the first time and when i create a blackberry project i am getting this error in BlackBerry_App_Descriptor.xml as
描述资源路径位置类型 InvalidRegex:模式值'([[a-zA-Z _] {1,63} [\ s-a-zA-Z_0-9.] {0,63} [;]?)*'不是有效的正则表达式.报告的错误是:``-'是无效的字符范围.写 '-'.'在"19"列. BlackBerry_App_Descriptor.xml/sample未知的XML问题
Description Resource Path Location Type InvalidRegex: Pattern value '([a-zA-Z_]{1,63}[\s-a-zA-Z_0-9.]{0,63}[;]?)*' is not a valid regular expression. The reported error was: ''-' is an invalid character range. Write '-'.' at column '19'. BlackBerry_App_Descriptor.xml /sample Unknown XML Problem
请帮帮我
提前谢谢.
推荐答案
在BlackBerry上,我使用站点上提供的Eclipse在我的第一个项目中遇到了同样的问题.
I have had the same problem earlier with my first project on BlackBerry using the Eclipse provided on the site.
尽管我花了很多时间来解决此问题,但解决方案却非常简单.
Though I took a lot of time to get a workaround for this, the solution is surprisingly simple.
从Windows系统上卸载JDK 7.x,调整路径变量以指向另一个JDK版本(最好是6).Eclipse环境中可能存在其他依赖项,需要独立设置以指向新的JDK(试试Windows-> Preferences-> Java->在Eclipse中安装JRE,瞧瞧!)
Uninstall the JDK 7.x from your Windows system, adjust your path variables to point to another JDK version, preferably 6. There could be other dependencies in your Eclipse environment which need to be set independently to point to the new JDK (try Windows -> Preferences -> Java -> Installed JREs in your Eclipse and voila!)
看到了吗?让我们知道您是否仍然遇到问题.
see? let us know if you still face the problem..
这篇关于eclipse xml错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!