• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Trouble opening project in Eclipse

 
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I was trying to open a project in Eclipse. When i pen the Build.xml file, i get the following error:

Could not open the editor: org.apache.xerces.parsers.XML11Configuration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration


How can i fix this issue?
 
Ranch Hand
Posts: 143
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you clarify - do you get this error when opening the project or when opening the build.xml file in the project? If the latter, can you verify what tool is being used to open the build.xml -- I am wondering if it is being opened by something other than a text editor which is triggering some parsing/validation you do not want.
 
santoshkumar savadatti
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Brian Burress wrote:Can you clarify - do you get this error when opening the project or when opening the build.xml file in the project?



The Project opens in the workspace. But when i try to open the build file, i get the error. I'm not sure if any other tool is being used to open the file.
 
Brian Burress
Ranch Hand
Posts: 143
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try right clicking the build.xml file, select "Open With" and see what has the "dot" by it. If it isn't the text editor, try selecting text editor and see if that helps.
 
santoshkumar savadatti
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes that did help. But the problem is, it still does not open with Ant editor. It'd be very helpful if i could use syntax highlighting.
Here is what i get if i open it with Ant Editor:


and thanks for your replies
 
santoshkumar savadatti
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using Eclipse Indigo on windows 7 by the way.
 
Brian Burress
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

santoshkumar savadatti wrote:
and thanks for your replies



You are welcome, sorry I have not really solved the root of your issue but just gotten you to a work around state.

I do see a similar discuss on nabble. Not sure that it will help, but there are some suggestions about cleaning/rebuilding the project & looking into the possibilitity that you may have more than one Xerces jar and the wrong one is "first" in the classpath.

If none of these pan out, I'll need to punt and hope someone else can field the question. I have not worked with the ANT editor myself and not encountered this exact scenario.

Good luck!
 
santoshkumar savadatti
Ranch Hand
Posts: 95
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I downloaded Helios package and its working fine now.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic