Could not find a handler capable of installing the plugin

Comments

9 comments

  • Avatar
    Jens Rutschmann

    Hi,

    the reason for this is probably that the atlassian-plugin.xml file is either missing or in the wrong directory structure.

    Can you attach your jar file to this thread ? If it contains confidential content you can also send an email to support@k15t.com with the jar file attached.

    Best regards,
    Jens

  • Avatar
    Aidan Vuocolo

    Thanks for your prompt response. I've uploaded my jar file.




    Improved HTML Export.jar
  • Avatar
    Aidan Vuocolo

    *Updated: 




    Improved HTML Export.jar
  • Avatar
    Aidan Vuocolo

    Just for your note, I zipped up the contents using winrar, and renamed the file extension from .rar to .jar.

  • Avatar
    Jens Rutschmann

    Hi,

    it shouldn't matter what tool you use to create the archive but you absolutely need to create a ZIP file. Jar files are similar to ZIP files that's why you can simply rename them.
    You cannot rename a RAR file because the internal archive format is completely different so Confluence can't deal with it.

    Furthermore your first version contained a top level directory - which is not allowed. I see that the second version no longer contains that one (which is correct).

    Also you copied some resources from the default template into your archive. This is not required unless you set the "copyDefaultResources" parameter to false in your template.

     

    Best regards,
    Jens

  • Avatar
    Aidan Vuocolo

    Thanks Jens,

    Figured out two things were going wrong.
    1. As you mentioned, I needed to first create a zip file

    2. The Atlassian-plugin.xml file was named incorrectly 

  • Avatar
    Steffen Itterheim

    I ran into the same problem. I jar'ed and unzipped the file that didn't work and found the directory structure had the top-level directory included, just like you mentioned above.

    This is how I created the jar that didn't work:

    jar cvf steffens-scroll-html-template.jar steffens-scroll-html-template

    I then simply specified the target directory with the -C option and . to include all files in that directory:

    jar cvf steffens-scroll-html-template.jar -C steffens-scroll-html-template .

    Now it's working! Just wanted to say in case someone else has to google this issue.

    You might want to consider updating the description page (http://www.k15t.com/display/HTML/Creating+and+shipping+a+Template+as+Confluence+Plugin).

  • Avatar
    Tony Kindder

    I have the same issue please advise as I am sure there more people might need some advice.

  • Avatar
    Nils Bier

    Hi Tony,

    can you please provide some further details? Have you already checked the Atlassian-plugin.xml? Does Steffens comment help you?

    Best,
    Nils

Please sign in to leave a comment.

Powered by Zendesk