Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Jira plugin tutorial. plugins not starting

Sandor Krisztian Andre November 27, 2015

II don't know why but the tutorials almost never work. I' doing this one now:

https://developer.atlassian.com/docs/getting-started/learn-the-development-platform-by-example/run-your-plugin-in-the-container

I performed the following steps:

        • created the refapp plugin with: atlas-create-refapp-plugin
        • removed the contents of src/test
        • removed src/main/java/com: rm -r src/main/java/com
        • created the eclipse project: atlas-mvn eclipse:eclipse
        • imported it into eclipse
        • set atlas-mvn as the maven in eclipse
        • created the package src/main/java/com/atlassian/plugins/tutorial/refapp/ in eclipse
        • created the file src/main/java/com/atlassian/plugins/tutorial/refapp/MyPluginServlet.java in eclipse with the content specified in the tutorial
        • adedto atlassian-plugin.xml:

          <servlet name="adminUI" class="com.atlassian.plugins.tutorial.refapp.MyPluginServlet" key="test">

            <url-pattern>/test</url-pattern>

          </servlet>

        • edited the name and organization in pom.xml

        • atlas-clean

        • atlas-run: stops with error http://paste.ubuntu.com/13525703/

        • atlas-clean

        • atlas-run --product jira --version 6.1:runs but plugins fail to start:

http://paste.ubuntu.com/13527731/

tried running with version 6.4.something same difference

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Roman Samorodov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 13, 2016

Hi! I completely fixed theese tutorias.

Look for my full answer here!

Good Luck!

TAGS
AUG Leaders

Atlassian Community Events