Why can't I get basic XPath to work in a Java 6 environment?

Why do I get the following exception when trying to invoke XPathFactory.newInstance() in a Java 6 runtime? The runtime is hosting an OSGi container that underlies an Atlassian JIRA 4.1.x environment.
[INFO] [talledLocalContainer] Caused by: java.lang.RuntimeException: XPathFactory#newInstance() failed to create an XPathFactory for the default object model: http://java.sun.com/jaxp/xpath/dom with the XPathFactoryConfigurationException: javax.xml.xpath.XPathFactoryConfigurationException: No XPathFactory implementation found for the object model: http://java.sun.com/jaxp/xpath/dom
[INFO] [talledLocalContainer] at javax.xml.xpath.XPathFactory.newInstance(XPathFactory.java:101)
How can an XPathFactory implementation not be found in a Java 6 environment? Is it because JIRA placed the following three JARs in my dependencies automatically (sucked in from an M2 REPO that is automatically created when setting up this plugin project):
* xalan-2.7.0.jar
* xercesImpl-2.9.1.jar
* xml-apis-1.3.04.jar
How can I work around this?
Thanks

Please see the following Atlassian Answers thread for how I was able to work around the problem:
https://answers.atlassian.com/questions/22875/how-can-i-use-xpath-when-writing-a-plugin
Thanks,
Mike

Similar Messages

  • Why can't I get my email to work on my Ipad??

    Why can't I get my email to work on my Ipad?
    I've checked everything back to my email on my computer to ensure all details are correct in trying to add the account onto the Ipad.  And yet it still won't work.
    The error that I keep getting is "One Seniors (the provider) is not responding!!
    Does anyone have any suggestions as to why it won't work?
    I have internet access and it's working.  I'm using WiFi and that's working??
    Help anyone..... It's driving me nuts....

    Best suggestion is to contact them directly for guidance.  I wasn't familiar with them, but found their contact information.  Click this link to contact them:  http://www.oneseniors.com.au/contact/

  • HT3819 Why can't I get Home Sharing to work since updating iTunes to 11.1?

    Why can't I get home Sharing to work since updating iTunes to 11.1?

    Did you restart your router?  Did you check Firewall settings?
    See http://support.apple.com/kb/TS2972

  • Why can't I get the average function work with empty cells?

    Why can't I get the average function work with empty cells?

    The thing that I am having a problem with is that I made a different form that calculates the average no matter how may of the cells have numbers or not and I didn't use an if function.  I have tried with this other form and and it calulates as if all the cells where being used.  I am using the [*] in both instances but it only works in the one I did earlier.

  • Why can't i get my brushes to work?

    Why can't I get my brushes to work??

    Insufficient incantations...
    In all seriousness, we're not the NSA and can't see your screen or what you've done to Photoshop.
    Imagine if someone asked you the above question, without telling you anything else.
    Consider perhaps providing a bit more detail please. 
    -Noel

  • Why can't I get Google Maps to work?

    Why can't I get Google Maps to work?

    Here are some suggestions for getting the best results from this site.
    Give details of the problem. A remark such as "X doesn't work" conveys no useful information. If X did work, you wouldn't be here. Instead, you should post something like this: "I did A; I expected B; but I got C." Include the complete, verbatim text of any error messages you saw, and specify where you saw them: in an application window, a CrashReporter window, a log, or whatever.
    Also describe the steps you’ve taken yourself, if any, to try to resolve the issue. If the problem is of recent origin, did you make any changes to your setup just before you first noticed it? Is the problem reproducible or intermittent? That is, does it always manifest itself when you take a certain action, or only at unpredictable times?
    Before posting, ask yourself whether it’s likely that you are the the only person ever to have had this problem. If not, search the discussions for answered questions similar to yours. If you found any pertinent information, but it didn't help, give details.
    If asking about third-party software, specify the version.

  • Why can't I get face time to work

    Why can't I get face time to work

    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
     Cheers, Tom

  • Why can't I get home share to work without putting credit card details all I want to do is trnsfere music onto my laptop from my Ipod

    why can't i use my apple ID to set home sharing without having to put my credit card details.if I do want to buy anything then I would use my credit card

    Hi EnJayOhh,
    Thanks for your query.
    I think this article may help you out.
    http://support.apple.com/kb/ht2519
    If you need any help keep posting!
    Thanks,
    KL

  • Why Can't I  get the slideshow to work in iWeb?

    I recently created and purchased a photo book successfully. I made a pdf of the book and saved it to iPhoto. I can't get the slideshow to work. Keeps telling me to drag photos somewhere, but they are already posted. If I click I can get to the spot where you can move to the next one—but no slideshow!
    I have watched the slideshow(2x's) that is listed in this topic. I thought I was doing as it said—but no luck.
    Anyone with ideas??

    Patti:
    Read Steps 1-5 of Tutorial #6a at Old Toad's Tutorials for a way to get a book's pages into iPhoto as jpg files which can then be used to create an iWeb slideshow like I've done here.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 6 and 7 libraries and Tiger and Leopard. Just put the application in the Dock and click on it whenever you want to backup the dB file. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
    Note: There's now an Automator backup application for iPhoto 5 that will work with Tiger or Leopard.

  • HT4623 Passscode not recognized after installing iOS 7.  Why can't I get my iPad to work?

    I updated iPad to iOS 7.  Required 4-digit passcode to get in, but it does not accept the only passcode I've ever created for it.  Why?  Help.  Frustration growing exponentially.

    Best suggestion is to contact them directly for guidance.  I wasn't familiar with them, but found their contact information.  Click this link to contact them:  http://www.oneseniors.com.au/contact/

  • So why can't I get snow leopard to work?

    early 2008 mac pro.
    32 GB ram test fine.
    1.5 TB drive runs leopard-no problems.
    have installed snow leopard on a blank drive and after about 4 hours, i get the black box shutdown error message. cloned existing drive into a new hitachi drive, shuts down after about 4 hours.
    thought it might be the APC, replaced it, still shutting down. (got APC beeping on start up and overuse)
    the only hardware remaining is video card: ATI Radeon HD 2600
    is there some software conflict that can cause this issue? it shuts down regarless of multiple programs running or none.
    have had the problem since i bought the snow leopard disk last summer, but snow leopard would not install on any of my existing hard drives, so replaced drives to accommodate the OS. running out of options.

    Hi Sam,
    Sorry about the problems you are having. You and I have the same system except the video card, therefore I can say with certainty that you should be able to run OS 10.6.4 at least.
    I have not been able to get OS 10.6.5 to work at all though. The system hangs at the grey apple load screen for me every time. I have been in contact with Apple, who says no one else is having problems running this OS on our systems. They also advocate erasing and reformatting the hard drive and installing the OS. I am not certain how that would be different from installing it on a brand new hard drive, fresh out of the box, as wehave both tried without success.
    I have one suggestion for you that I have not had time to try yet myself. Try removing all but one hard drive from the case (make sure the one remaining is in the first bay). Then try installing the OS and see if it works. This suggestion worked for me when I was trying, unsuccessfully, to install Boot Camp on a drive and it worked.
    Maybe our model does not like certain system changes with multiple hard drives installed. Maybe I just trying to find a solution. Either way, best of luck! Hope you get things to work.

  • Why can't I get some buttons to work on websites? Need to enable something?

    Recently, I am not able to use certain portions of 3 websites that I used to be able to use. I can get to the pages, and some buttons/links work within pages, but when I try to click on some buttons on some pages, nothing happens at all. The computer is not frozen, I can do other things on the page. Example #1 - I was trying to access my photo albums at Snapfish.com but I cannot access my albums, or select albums to which I will download photos. #2. I was trying to create a gmail e-mail address. When I tried I had a message about enabling something. Didn't know what it meant or how to do that. Any ideas on what to adjust on my computer so that I can do what I used to be able to do?
    PowerBook G4 Titanium   Mac OS X (10.2.x)   768 MB Ram

    Which browser are you using? Do you have Enable Java checked in it's preferences? When you get a message it's a good idea to write down exactly what it says rather than dismiss it and wonder later what it said about something.

  • HT204053 Why can'T I get the store to work. I have tried the search and nothing happens. I want to buy more spongs and can only get the home page to show the music

    I have been trying to get an album of George Jones to load to my Ipad i can't get the store to let me search ? What am O doing wrong

    (for an example of what I mean, my site: http://www.katesilsby.com (retouch page) and what old iweb did and what I want to happen: http://web.mac.com/vogier/iWeb/vivian%20ogier/wardrobe.html
    iWeb2 photos page is completely different from that of iWeb1.
    iWeb2 photos page can be retro back to iWeb1, but not without major javascript coding.
    or using completely different previewing method for larger image, example: http://hdl.50webs.com/Lytebox/Photos.html

  • Why can't I get AirPlay mirroring to work?

    When I double tap the home button and slide to the right, I can turn on AirPlay but it does not mirror to the tv.  The software is updated on my ipad2 and on apple tv.  My apps do AirPlay but the mirroring does not.

    I just checked all the posts about this subject - the common denominator: no update to the appletv software. I have the same issue, my appletv is insisting to have an uptodate version (i have 4.3 just like the other guys ) - full mirroring requires 4.4, or so they say...

  • Why can't i get virus scan to work with downloads

    I had Firefox before,and everytime I downloaded a file it scanned it. Now no matter what I do it will not run a virus scan!

    Firefox doesn't do the "AV scan", it hands the scan off to the "registered" anti-virus application that you have installed. The "scan" should be done so fast that you shouldn't see more than a flash instance from Firefox of a scan being performed on the downloaded file, even if it is a large file like a 360Mb ISO image.
    If you saw (or see) the download scan dialog run for like 4 to 5 seconds, or more, '''a scan isn't actually being performed''' - Firefox is giving you a misleading indication that a scan is being performed, when it isn't. ''It's like Firefox is blowing smoke up your arse, with a false indication. ''
    I filed a Bug about this issue almost two years ago and it remains UNCONFIRMED. I only discovered it because I was doing am initial load of software on a PC that I had just built for myself, the first brand new one in over ten years, at the time. I was using a newly installed Firefox to download the Anti-Virus application I was going to install, and Firefox showed the download was being scanned, when I didn't even have an AV program installed on Windows 2000!<br />
    https://bugzilla.mozilla.org/show_bug.cgi?id=480855
    Three similar Bugs that others have filed. <br />
    https://bugzilla.mozilla.org/show_bug.cgi?id=461989 <br />
    https://bugzilla.mozilla.org/show_bug.cgi?id=501645 <br />
    https://bugzilla.mozilla.org/show_bug.cgi?id=530307
    I can't even find a list of the exact anti-virus applications that have the proper "hooks" in Windows that Firefox uses to "connect" the file being downloaded with the AV application - from either Microsoft or from Mozilla.
    IMO, that feature is broken at least, and at the worst it gives an invaild indication that a scan is being performed when it isn't because the user either doesn't even have an AV application installed, or has an AV program that isn't compatible with this feature - I think Firefox should tell the user in both those situations.

Maybe you are looking for

  • New Mac/APE 12 user Used to have Cyberlink Powerdirector 9 for video/slideshow editing.  HELP!

    I have recently purchased APE 12 to help with editing a slideshow.  Previously I used Cyberlink Powerdirector 9 on my PC.  At this point I am very disappointed in the money I spent.  There is so much less I can do with the structure of the slideshow.

  • How to create a 'jump' or hotspot to an external PDF?????

    I'm trying to create a link to allow the user to download a PDF and/or a Word document from within my Robohelp for Word (6) WebHelp project....but cannot find anyway to make it work in Robohelp...nor is it covered in the (ironically named) help file.

  • Non Empty function in MDX with IIF command

    Hi All , I have a MDX query like: IIF(isgeneration([YEAR].CurrentMember, 2), iif(isgeneration([TIME].CurrentMember, 4), parallelperiod(YEAR.generations(2), 1, [YEAR].currentmember), missing missing Now if I'm trying to write NON EMPTY function like:

  • What is the "BW shell creation package for BW system" in TDMS?

    I see for lower version of SAP systems such as 4.6 and BW(e.g.3.0, etc), there is a "shell creation package " for those types of systems. Could you explain what is that for? Thanks!

  • Error when adding a delivery

    Hello, I have a customer that is getting this error: System Message Error: Item Click Event Handler Failed: Cannot get information for an item when the item is not active (66000-109) whenever they are trying to add a delivery. I've searched the Busin