eclipse xml error

≯℡__Kan透↙ 提交于 2019-12-12 05:49:03

问题


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

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

please help me out

thanks in advance.


回答1:


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.

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..




回答2:


I'm having the same problem as you are. There is a post regarding this issue at http://supportforums.blackberry.com/t5/Java-Development/InvalidRegex-Pattern-value-a-zA-Z-1-63-a-zA-Z-0-9-0-63-is-not-a/td-p/944343

I haven't been able to solve the problem yet, and I am clueless as to what may be causing it. The answers at the blackberry support forums didn't work for me at all. But do try them out. Best of luck.

The deprecated version of the blackberry development IDE for eclipse (version 1.1 of the pluggin) works fine, but is not available for download anymore.



来源:https://stackoverflow.com/questions/4224766/eclipse-xml-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!