unable to follow instruction on SDK Development - RefApp

I am not able to follow the instruction on the documentation of Create a plugin Skeleton:

https://developer.atlassian.com/docs/getting-started/learn-the-development-platform-by-example/create-a-plugin-skeleton

First I got the error of not able to resolve the version of 2.23.5. Then I see another thread related to that suggesting to change the pom file for refapp.version to 2.22.0 as the following because the repository only contains up to 2.22.0:

<properties>
<refapp.version>2.22.0</refapp.version>
<amps.version>5.0.13</amps.version>
<plugin.testrunner.version>1.2.3</plugin.testrunner.version>
</properties>

 

After the change, while the server got started, I am not able to access the website, I got a HTTP Status 404 page when I access: http://localhost:5990/refapp/. Any idea how to make the tutorial work for the latest? I am using jdk 1.7. Do I have to use jdk 1.6?

Thanks

2 answers

This widget could not be displayed.

Was there message in console that refapp started:

[INFO] refapp started successfully in 46s at http://localhost:5990/refapp

Also please check if there any errors in log file. Be default it should be in 

${project.build.directory}/refapp.log

it showed [INFO] refapp started successfully in 46s at http://bchung:5990/refapp bchung is basically the localhost I cannot find any refapp.log anywhere under c:\atlasturtorial or c:\atlastutorial\adminUI

This widget could not be displayed.

Hey Bryan

 

Try deleting "atlassian-plugin.xml" file  in src/test/ folder and try rebuilding the plugin.

src/test/resource/

I deleted the following directories following the documentation $ rm -rf src/test/java/ $ rm -rf src/test/resources/ and I restarted the atlas-run and still got the same error

when you do atlas-run, you should redirect the output to a file. like "atlas-run > log.txt" to capture the log then check log.txt for any "error"

if you get the bellow message then when you hit that url do you get 404? [INFO] refapp started successfully in 46s at http://bchung:5990/refapp

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

286 views 5 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you